mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
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
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user