summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/simple_uploader.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-11 18:47:10 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-11 18:47:10 -0800
commit421a975c0e042a56c12a9894afa38f5785d1fe6d (patch)
treef0d27e17d7284956ed4fb903ccb5d6cb6784c784 /modules/gallery/controllers/simple_uploader.php
parent9546e19e34d08e0d55f066f04149794e566c3539 (diff)
Improve error handling.
Diffstat (limited to 'modules/gallery/controllers/simple_uploader.php')
-rw-r--r--modules/gallery/controllers/simple_uploader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/simple_uploader.php b/modules/gallery/controllers/simple_uploader.php
index bc508319..d43d2f9d 100644
--- a/modules/gallery/controllers/simple_uploader.php
+++ b/modules/gallery/controllers/simple_uploader.php
@@ -79,7 +79,7 @@ class Simple_Uploader_Controller extends Controller {
print "FILEID: $item->id";
} else {
header("HTTP/1.1 400 Bad Request");
- print "ERROR: Invalid Upload";
+ print "ERROR: " . t("Invalid Upload");
}
}