mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#13153 hide scripts schedule
This commit is contained in:
parent
e7fefdebe9
commit
55d4068242
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user