aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_cats.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/category_cats.inc.php')
-rw-r--r--include/category_cats.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php
index cfdd8db66..6e6304b94 100644
--- a/include/category_cats.inc.php
+++ b/include/category_cats.inc.php
@@ -39,7 +39,7 @@ SELECT
date_last, max_date_last, count_images, count_categories, global_rank
FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'
ON id = cat_id and user_id = '.$user['id'].'
- WHERE date_last > SUBDATE(
+ WHERE date_last >= SUBDATE(
CURRENT_DATE,INTERVAL '.$user['recent_period'].' DAY
)
'.get_sql_condition_FandF