summaryrefslogtreecommitdiff
path: root/classes/File.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-07-28 22:17:54 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-07-28 22:17:54 +0200
commite694da24a9b6ec242fd49b5ce6e012d0a2a28679 (patch)
tree6785b1f7378cc5b3d6298d06e08d3fb0b0074cd5 /classes/File.php
parent97728791a16a74937d07b88bd22ea5cc6cd54cdd (diff)
Number parameters
Diffstat (limited to 'classes/File.php')
-rw-r--r--classes/File.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/File.php b/classes/File.php
index 0f230a6ee..ba8cea9d9 100644
--- a/classes/File.php
+++ b/classes/File.php
@@ -182,8 +182,8 @@ class File extends Memcached_DataObject
function isRespectsQuota($user,$fileSize) {
if ($fileSize > common_config('attachments', 'file_quota')) {
- return sprintf(_('No file may be larger than %d bytes ' .
- 'and the file you sent was %d bytes. Try to upload a smaller version.'),
+ return sprintf(_('No file may be larger than %1$d bytes ' .
+ 'and the file you sent was %2$d bytes. Try to upload a smaller version.'),
common_config('attachments', 'file_quota'), $fileSize);
}