diff options
Diffstat (limited to 'include/category_default.inc.php')
-rw-r--r-- | include/category_default.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php index ae2dc4dce..1fff71956 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -47,7 +47,7 @@ if (count($selection) > 0) SELECT * FROM '.IMAGES_TABLE.' WHERE id IN ('.implode(',', $selection).')'; - if ($page['filter_mode']) + if ($page['filter_local_mode'] or $user['filter_global_mode']) { $query.= ' AND date_available > SUBDATE( |