diff --git a/pandora_console/include/auth/mysql.php b/pandora_console/include/auth/mysql.php index bb2e51bc73..9783c609b6 100644 --- a/pandora_console/include/auth/mysql.php +++ b/pandora_console/include/auth/mysql.php @@ -805,6 +805,9 @@ function update_user(string $id_user, array $values) unset($values['id_skin']); unset($values['section']); unset($values['default_event_filter']); + $update_user_metaconsole = true; + } else { + $update_user_metaconsole = false; } $output = db_process_sql_update('tusuario', $values, ['id_user' => $id_user]); @@ -844,6 +847,10 @@ function update_user(string $id_user, array $values) } } + if ($update_user_metaconsole === true) { + $output = 1; + } + return $output; }