diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-03-28 14:26:40 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-02 12:32:36 +0200 |
commit | c605e0164d20f8604b8b1eacb3eaceb4af7fd4aa (patch) | |
tree | 430e11b1d4473f836227b565f638604199bc5745 /admin/WebConsole/gestores | |
parent | 04a41625981b3982ec66c31ddb291ff4f91b65d1 (diff) |
#942 Use both task_id and schedule_id in /schedule/get (web)
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r-- | admin/WebConsole/gestores/gestor_programaciones.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/gestores/gestor_programaciones.php b/admin/WebConsole/gestores/gestor_programaciones.php index 814f98a1..5bd49b7c 100644 --- a/admin/WebConsole/gestores/gestor_programaciones.php +++ b/admin/WebConsole/gestores/gestor_programaciones.php @@ -87,7 +87,7 @@ if($pswop!=$op_suspension){ $phoras, $pampm, $pminutos); $swop=$op_alta; $schedule = get_schedule($pidentificador); - $idr = max(array_keys($schedule)); + $idr = max(array_column($schedule['schedule'], OG_REST_PARAM_ID)); break; case $op_eliminacion: $result = delete_schedule($pidprogramacion); |