diff options
Diffstat (limited to 'include/filter.inc.php')
-rw-r--r-- | include/filter.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/filter.inc.php b/include/filter.inc.php index fb0474bbd..f373ca1cd 100644 --- a/include/filter.inc.php +++ b/include/filter.inc.php @@ -3,7 +3,6 @@ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2006-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) // | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ @@ -75,7 +74,7 @@ if ($filter['enabled']) { // Need to compute dats $filter['check_key'] = get_filter_check_key(); - $filter['categories'] = get_computed_categories($user['id'], $user['forbidden_categories'], true, $filter['recent_period']); + $filter['categories'] = get_computed_categories($user, (int)$filter['recent_period']); $filter['visible_categories'] = implode(',', array_keys($filter['categories'])); if (empty($filter['visible_categories'])) |