diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-09-11 02:24:51 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-09-11 02:24:51 +0000 |
commit | 92f80e5d799aa7fef5f00cbf5c27e32f92c4b2ea (patch) | |
tree | cbde0a4b03ea5733bf71ce1db3c8ec993825c38e /action.php | |
parent | 45fde2cc6b34d3acdfd43b487eb4b7dbeede05a8 (diff) |
feature 731: permissions at image level
- this is the first version - I wait for feedback before changing help files
git-svn-id: http://piwigo.org/svn/trunk@2084 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'action.php')
-rw-r--r-- | action.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/action.php b/action.php index bd62b2bb3..d1d382c35 100644 --- a/action.php +++ b/action.php @@ -89,7 +89,10 @@ SELECT id INNER JOIN '.IMAGE_CATEGORY_TABLE.' ON category_id = id WHERE image_id = '.$_GET['id'].' '.get_sql_condition_FandF( - array('forbidden_categories' => 'category_id'), + array( + 'forbidden_categories' => 'category_id', + 'forbidden_images' => 'image_id', + ), ' AND' ).' LIMIT 1 |