summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/item_rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/item_rest.php b/modules/gallery/helpers/item_rest.php
index f99afbc2..763e586f 100644
--- a/modules/gallery/helpers/item_rest.php
+++ b/modules/gallery/helpers/item_rest.php
@@ -161,7 +161,7 @@ class item_rest_Core {
case "photo":
case "movie":
if (empty($request->file)) {
- throw new Rest_Exception("Bad Request: Upload failed", 400);
+ throw new Rest_Exception("file: Upload failed", 400);
}
$item->type = $entity->type;
$item->parent_id = $parent->id;