mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
@@ -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',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user