summaryrefslogtreecommitdiff
path: root/actions/avatarsettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/avatarsettings.php')
-rw-r--r--actions/avatarsettings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/avatarsettings.php b/actions/avatarsettings.php
index 79ca6b789..139d85b4c 100644
--- a/actions/avatarsettings.php
+++ b/actions/avatarsettings.php
@@ -155,7 +155,7 @@ class AvatarsettingsAction extends AccountSettingsAction
$this->element('input', array('name' => 'MAX_FILE_SIZE',
'type' => 'hidden',
'id' => 'MAX_FILE_SIZE',
- 'value' => MAX_AVATAR_SIZE));
+ 'value' => ImageFile::maxFileSize(true)));
$this->elementEnd('li');
$this->elementEnd('ul');