fixes #1253 progressbar new style

added the style of progress bar like when you upload a photos, from photos add direct tpl
also fixed a php error when calling count on empty var
This commit is contained in:
Louis
2020-11-10 10:15:18 +01:00
parent 4f3880af89
commit 0fc87320af
4 changed files with 60 additions and 45 deletions

View File

@@ -605,7 +605,7 @@ foreach ($filter_sets as $set)
{
$current_set = array_intersect($current_set, $set);
}
$page['cat_elements_id'] = $current_set;
$page['cat_elements_id'] = empty($current_set) ? [] : $current_set;
// +-----------------------------------------------------------------------+