mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 11:49:56 +03:00
PHP 7.4 fixes
This commit is contained in:
parent
8a5a2d9831
commit
f9edbd34f7
2 changed files with 6 additions and 4 deletions
|
@ -122,8 +122,8 @@ WHERE '.$where.'
|
|||
),
|
||||
'URL' => make_index_url(array('category' => $row)),
|
||||
'LEVEL' => substr_count($row['global_rank'], '.') + 1,
|
||||
'SELECTED' => $selected_category['id'] == $row['id'] ? true : false,
|
||||
'IS_UPPERCAT' => $selected_category['id_uppercat'] == $row['id'] ? true : false,
|
||||
'SELECTED' => ($selected_category!==null && $selected_category['id'] == $row['id']) ? true : false,
|
||||
'IS_UPPERCAT' => ($selected_category!==null && $selected_category['id_uppercat'] == $row['id']) ? true : false,
|
||||
)
|
||||
);
|
||||
if ($conf['index_new_icon'])
|
||||
|
@ -602,4 +602,4 @@ function remove_computed_category(&$cats, $cat)
|
|||
unset($cats[$cat['cat_id']]);
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue