aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/category_recent_cats.inc.php2
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.= '
;';