From: Zach Copley Date: Wed, 24 Jun 2009 07:27:37 +0000 (-0700) Subject: fix bad function call (needed to be static) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b702461f6942017d1ae4a08c6701998db14ce536;p=quix0rs-gnu-social.git fix bad function call (needed to be static) --- diff --git a/lib/imagefile.php b/lib/imagefile.php index 0c93b257ed..52e4c4b227 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -72,7 +72,8 @@ 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.'), $this->maxFileSize())); + throw new Exception(sprintf(_('That file is too big. The maximum file size is %d.'), + ImageFile::maxFileSize())); return; case UPLOAD_ERR_PARTIAL: @unlink($_FILES[$param]['tmp_name']);