summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/simple_uploader.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-29 22:28:48 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-29 22:28:48 -0700
commitf660eb55aa9535c10f91ad2812fa073589fcae2b (patch)
tree11d8727061378408bbc16ede888a058ba20542fb /modules/gallery/controllers/simple_uploader.php
parent0097803efc1c71711bf9ccf5015fe43e75f8f28d (diff)
parentce285b8feba2f9c495fb153517c2a582421f50e0 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
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 bdf9582f..ec2a5ab9 100644
--- a/modules/gallery/controllers/simple_uploader.php
+++ b/modules/gallery/controllers/simple_uploader.php
@@ -20,7 +20,7 @@
class Simple_Uploader_Controller extends Controller {
public function app($id) {
$item = ORM::factory("item", $id);
- access::required("edit", $item);
+ access::required("add", $item);
$v = new View("simple_uploader.html");
$v->item = $item;