diff options
author | plegall <plg@piwigo.org> | 2004-12-30 00:39:37 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2004-12-30 00:39:37 +0000 |
commit | cc25f4aa35092e29d1fd7fdb72e34d30eb0deeec (patch) | |
tree | a8ffecb528194ad5a130ec797d9831f0c8318776 /include | |
parent | 24f7065c3f154dbc0a301c0df7dcd4ab1271534e (diff) |
- 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
Diffstat (limited to '')
-rw-r--r-- | include/category_recent_cats.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/category_recent_cats.inc.php b/include/category_recent_cats.inc.php index ab4732a81..8f50d9a48 100644 --- a/include/category_recent_cats.inc.php +++ b/include/category_recent_cats.inc.php @@ -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.= ' ;'; |