mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
bug:2221
git-svn-id: http://piwigo.org/svn/trunk@9679 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -107,7 +107,7 @@ if (isset($_GET['cat']) and 0 != $_GET['cat'])
|
||||
check_input_parameter('cat', $_GET, false, PATTERN_ID);
|
||||
|
||||
$category_ids = get_subcat_ids(array($_GET['cat']));
|
||||
if (empty($category_id))
|
||||
if (empty($category_ids))
|
||||
{
|
||||
$category_ids = array(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user