aboutsummaryrefslogtreecommitdiffstats
path: root/include/filter.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/filter.inc.php')
-rw-r--r--include/filter.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/filter.inc.php b/include/filter.inc.php
index f373ca1cd..56617d9ec 100644
--- a/include/filter.inc.php
+++ b/include/filter.inc.php
@@ -95,7 +95,7 @@ WHERE ';
category_id IN ('.$filter['visible_categories'].') and';
}
$query.= '
- date_available > SUBDATE(
+ date_available >= SUBDATE(
CURRENT_DATE,INTERVAL '.$filter['recent_period'].' DAY)';
$filter['visible_images'] = implode(',', array_from_query($query, 'image_id'));