diff options
Diffstat (limited to 'core/controllers/item.php')
-rw-r--r-- | core/controllers/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/item.php b/core/controllers/item.php index 9eb06ad1..78ee7b0b 100644 --- a/core/controllers/item.php +++ b/core/controllers/item.php @@ -52,8 +52,8 @@ class Item_Controller extends REST_Controller { $_FILES["file"]["name"][$i], $_FILES["file"]["name"][$i]); } else { - print "ERROR!"; // @todo return a reasonable error + throw new Exception("@todo ERROR_IN_UPLOAD_FILE"); } } url::redirect("album/{$item->id}"); |