From 527427d3e0752a371b1b6421dabec5cc1c7e19ad Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 4 Nov 2009 21:00:26 -0800 Subject: Implement update avatar via API (/api/account/update_profile_image.format) --- lib/imagefile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/imagefile.php') 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: -- cgit v1.2.3-54-g00ecf