#13153 hide scripts schedule

This commit is contained in:
Jonathan 2024-03-25 10:16:33 +01:00
parent e7fefdebe9
commit 55d4068242

View File

@ -157,7 +157,7 @@ if ((bool) users_is_admin() === false) {
$where = sprintf(' AND id_usuario = "%s"', $config['id_user']); $where = sprintf(' AND id_usuario = "%s"', $config['id_user']);
} }
$sql = 'SELECT * FROM tuser_task_scheduled WHERE id_user_task IN (1,2,3,4) '.$where; $sql = 'SELECT * FROM tuser_task_scheduled WHERE id_user_task IN (1,2,3) '.$where;
$reports = db_get_all_rows_sql($sql); $reports = db_get_all_rows_sql($sql);
if ($reports !== false) { if ($reports !== false) {
$table = new stdClass(); $table = new stdClass();