minor change

This commit is contained in:
alejandro.campos@artica.es 2022-11-07 14:13:04 +01:00
parent 75fe9dd8d3
commit e3d01930b1
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ class Manager implements PublicLogin
$dashboards = \db_get_all_rows_sql($sql_dashboard); $dashboards = \db_get_all_rows_sql($sql_dashboard);
if ($favourite === true) { if ($favourite === true && $dashboards !== false && count($dashboards) > 0) {
$dashboards = array_map( $dashboards = array_map(
function ($dashboard) { function ($dashboard) {
$dashboard['name'] = io_safe_input($dashboard['name']); $dashboard['name'] = io_safe_input($dashboard['name']);