mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-05 08:22:32 +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:
1 parent
86e8e7ba70
commit
1895e2acd0
1 file changed
+2
-1
@@ -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