summaryrefslogtreecommitdiff
path: root/lib/imagefile.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-04 21:00:26 -0800
committerZach Copley <zach@status.net>2009-11-04 21:00:26 -0800
commit527427d3e0752a371b1b6421dabec5cc1c7e19ad (patch)
treeb93f82742b41a7de053151a26957388b2eb5dd37 /lib/imagefile.php
parenteb42ad5635c65dd7c25ea57bd5b6e56114054ae0 (diff)
Implement update avatar via API (/api/account/update_profile_image.format)
Diffstat (limited to 'lib/imagefile.php')
-rw-r--r--lib/imagefile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/imagefile.php b/lib/imagefile.php
index cd2f87e6b..cf1668f20 100644
--- a/lib/imagefile.php
+++ b/lib/imagefile.php
@@ -72,7 +72,7 @@ class ImageFile
break;
case UPLOAD_ERR_INI_SIZE:
case UPLOAD_ERR_FORM_SIZE:
- throw new Exception(sprintf(_('That file is too big. The maximum file size is %d.'),
+ throw new Exception(sprintf(_('That file is too big. The maximum file size is %s.'),
ImageFile::maxFileSize()));
return;
case UPLOAD_ERR_PARTIAL: