mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-03 07:22:22 +01:00
- bug fixed : if some categories are forbidden, query for recent categories
was wrong git-svn-id: http://piwigo.org/svn/trunk@664 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
24f7065c3f
commit
cc25f4aa35
1 file changed
+1
-1
@@ -43,7 +43,7 @@ SELECT c.id AS category_id,uppercats,representative_picture_id,path,file,tn_ext
|
||||
if ( $user['forbidden_categories'] != '' )
|
||||
{
|
||||
$query.= '
|
||||
AND id NOT IN ('.$user['forbidden_categories'].')';
|
||||
AND c.id NOT IN ('.$user['forbidden_categories'].')';
|
||||
}
|
||||
$query.= '
|
||||
;';
|
||||
|
||||
Reference in new issue
Block a user