bug 2184 fixed: avoid SQL syntax error on "display only recently posted photos" filter.

git-svn-id: http://piwigo.org/svn/trunk@9116 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2011-02-08 13:34:12 +00:00
parent 86e8e7ba70
commit 1895e2acd0

View File

@@ -51,7 +51,8 @@ else
WHERE id_uppercat '.(!isset($page['category']) ? 'is NULL' : '= '.$page['category']['id']);
}
$query.= get_sql_condition_FandF(
$query.= '
'.get_sql_condition_FandF(
array(
'visible_categories' => 'id',
),