diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-01-12 21:51:44 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-01-12 21:51:44 +0000 |
commit | 7b8d0b8dd8d3f5fa25dedaadb922525e7c95ee3b (patch) | |
tree | 45b3a24d8043ce45c5d2d9ab0e09d4a7e3b67ec0 | |
parent | e1b59cb0a83e8b6cff7b05ea18cd8cdd985a9af7 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | comments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comments.php b/comments.php index f90f4dcac..05d932d77 100644 --- a/comments.php +++ b/comments.php @@ -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; |