mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-09 06:44:56 +02:00
Using the stored array with user restricted categories
git-svn-id: http://piwigo.org/svn/branches/release-1_3@275 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ if ( $user['forbidden_categories'] != '' )
|
||||
$query.= ' ORDER BY ic.image_id DESC';
|
||||
$query.= ';';
|
||||
$result = mysql_query( $query );
|
||||
display_pictures( $result, $maxtime, $restricted_cats );
|
||||
display_pictures( $result, $maxtime, $user['restrictions'] );
|
||||
//----------------------------------------------------------- html code display
|
||||
$code = $vtp->Display( $handle, 0 );
|
||||
echo $code;
|
||||
|
||||
Reference in New Issue
Block a user