summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-03-06 14:26:23 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commit0549150265a132055b3c700d36137da20908e2b4 (patch)
treee9f0ef5d57759339108d11748fc0701011e1eecf /admin/WebConsole/gestores
parente3a1d64f1128d1a2cf3892cf7e36a00facc463ce (diff)
#942 Add weeks and week_days to the webconsole schedule (web)
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r--admin/WebConsole/gestores/gestor_programaciones.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/gestores/gestor_programaciones.php b/admin/WebConsole/gestores/gestor_programaciones.php
index 5bd49b7c..8aa0078b 100644
--- a/admin/WebConsole/gestores/gestor_programaciones.php
+++ b/admin/WebConsole/gestores/gestor_programaciones.php
@@ -83,8 +83,8 @@ if($pswop!=$op_suspension){
switch($pswop){
case $op_alta:
$result = create_schedule($pidentificador,
- $pnombrebloque, $pannos, $pmeses, $pdiario,
- $phoras, $pampm, $pminutos);
+ $pnombrebloque, $pannos, $pmeses, $psemanas,
+ $pdias, $pdiario, $phoras, $pampm, $pminutos);
$swop=$op_alta;
$schedule = get_schedule($pidentificador);
$idr = max(array_column($schedule['schedule'], OG_REST_PARAM_ID));