aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_cats.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-02-08 13:34:12 +0000
committerplegall <plg@piwigo.org>2011-02-08 13:34:12 +0000
commit1895e2acd07786dbc79766c2442e31fd366de83e (patch)
treecf3e4ffb81266bacbe07f90441d63b71c2f0f919 /include/category_cats.inc.php
parent86e8e7ba700f93d7f0f83412d112154c2b94ae2f (diff)
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
Diffstat (limited to '')
-rw-r--r--include/category_cats.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php
index 6ca1817db..8e48927c9 100644
--- a/include/category_cats.inc.php
+++ b/include/category_cats.inc.php
@@ -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',
),