summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-07-26 09:24:36 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-07-26 09:24:36 -0600
commitdcc3249f2186843ff81a9fa604d103a535842b27 (patch)
treee7e97800606b7ef11b78d4428857ffd267739d39 /modules/gallery/helpers
parent8f9b5dcf83ffde65f45d9eb4f103407103764dfa (diff)
parent809e52d80cbf3beb75b238fddb0da3951fb9a8e7 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/access.php b/modules/gallery/helpers/access.php
index c84527f4..2faa922b 100644
--- a/modules/gallery/helpers/access.php
+++ b/modules/gallery/helpers/access.php
@@ -95,7 +95,7 @@ class access_Core {
return false;
}
- if ($user->admin) {
+ if ($user->admin && $item->owner_id == $user->id) {
return true;
}