summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/item_rest.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2013-01-16 17:32:36 +0000
committerNathan Kinkade <nath@nkinka.de>2013-01-16 17:32:36 +0000
commit0047af90bf4db08b22838e6ded22a7fa70cee98a (patch)
tree1c6cb658ffac9ae5d00e32668bed1b1bfbf70b5a /modules/gallery/helpers/item_rest.php
parent77e2e58aeff49477242f789b367def4b08836a47 (diff)
parent9d684b7b83f0aa026e9d6f06228294f179a3bcaa (diff)
Manually resolved conflict after recent pull.
Diffstat (limited to 'modules/gallery/helpers/item_rest.php')
-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 14580cd9..43fec3ab 100644
--- a/modules/gallery/helpers/item_rest.php
+++ b/modules/gallery/helpers/item_rest.php
@@ -150,7 +150,7 @@ class item_rest_Core {
static function post($request) {
$parent = rest::resolve($request->url);
- access::required("edit", $parent);
+ access::required("add", $parent);
$entity = $request->params->entity;
$item = ORM::factory("item");