Skip to content

Commit

Permalink
Fix using total size instead of max size in image upload error message
Browse files Browse the repository at this point in the history
  • Loading branch information
itismadness committed Aug 15, 2021
1 parent 8af5fd8 commit 71d6384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/image/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
)->modify();
(new Gazelle\Manager\User)->sendPM($userId, 0, $subject, $Twig->render('user/reset-avatar.twig', [
'height' => $maxHeight,
'size_kb' => $sizeKb,
'size_kb' => $maxSizeKb,
'type' => $imageType,
'url' => $url,
]));
Expand Down

0 comments on commit 71d6384

Please sign in to comment.