summaryrefslogtreecommitdiff
path: root/actions/avatarsettings.php
diff options
context:
space:
mode:
authorSean Murphy <sgmurphy@gmail.com>2009-02-05 15:01:44 -0500
committerSean Murphy <sgmurphy@gmail.com>2009-02-05 15:01:44 -0500
commitd4bdb2dc1924e2753baa4cf1751acb08b6ed3cae (patch)
treefbe24952537eeb5ee255d8282658393d6636f923 /actions/avatarsettings.php
parent746a5d75071a2a7c913c522ea78f2b88b87f4ce2 (diff)
Better fix for displaying max file size.
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');