summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-01-21 11:20:27 +0100
committerRamón M. Gómez <ramongomez@us.es>2019-01-21 11:20:27 +0100
commit1985678d44b366a1b98107241c3ae6e059a67499 (patch)
tree5518060d714c1c826f14afc143749eb224ca4b7d /admin/WebConsole/gestores
parentde61ab6731b56c05ef2e0675b44e6a8b718118b2 (diff)
#834: Check for more variable definitions and continue code cleanup.
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r--admin/WebConsole/gestores/gestor_tareascomandos.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/WebConsole/gestores/gestor_tareascomandos.php b/admin/WebConsole/gestores/gestor_tareascomandos.php
index c7f88ccd..fc8c9e88 100644
--- a/admin/WebConsole/gestores/gestor_tareascomandos.php
+++ b/admin/WebConsole/gestores/gestor_tareascomandos.php
@@ -59,12 +59,14 @@ function Gestiona(){
global $EJECUCION_COMANDO;
global $PROCESOS;
global $ACCION_INICIADA;
- global $ACCION_SINERRORES;
+ global $ACCION_SINERRORES;
+ global $ACCION_SINRESULTADO;
global $servidorhidra;
global $hidraport;
global $idcentro;
global $idtareacomando;
global $orden;
+ $resul=true;
$cmd->CreaParametro("@orden",$orden,1);
@@ -90,8 +92,6 @@ function Gestiona(){
$idambito=$Datos["idambito"];
$parametros=$Datos["parametros"];
- $resul=true;
-
$cmd->CreaParametro("@tipoaccion",$EJECUCION_COMANDO,1);
$cmd->CreaParametro("@idtipoaccion",$idtipoaccion,1);
$cmd->CreaParametro("@cateaccion",$PROCESOS,1);