summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-02-12 10:46:37 +0100
committerRamón M. Gómez <ramongomez@us.es>2019-02-12 10:46:37 +0100
commit669478452f2f7fbce79ce2456a6034ae562cb436 (patch)
tree38c23a5ffb93e958f76091fade919a1917ab002c /admin/WebConsole/gestores
parent6bd2e1e7ba1bb7f9911d95a3a4ed688b0cae1e58 (diff)
#834: Fixing more code cleanup: CSS units, HTML tags; Javascript comparisons, and PHP variables.
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r--admin/WebConsole/gestores/gestor_menus.php2
-rw-r--r--admin/WebConsole/gestores/gestor_tareas.php7
2 files changed, 4 insertions, 5 deletions
diff --git a/admin/WebConsole/gestores/gestor_menus.php b/admin/WebConsole/gestores/gestor_menus.php
index 687f930f..7545d079 100644
--- a/admin/WebConsole/gestores/gestor_menus.php
+++ b/admin/WebConsole/gestores/gestor_menus.php
@@ -184,7 +184,7 @@ function Gestiona(){
________________________________________________________________________________________________________*/
function SubarbolXML_menus($idmenu,$descripcion){
global $LITAMBITO_MENUS;
- $cadenaXML.='<MENU';
+ $cadenaXML='<MENU';
// Atributos
$cadenaXML.=' imagenodo="../images/iconos/menu.gif"';
$cadenaXML.=' infonodo="' .$descripcion.'"';
diff --git a/admin/WebConsole/gestores/gestor_tareas.php b/admin/WebConsole/gestores/gestor_tareas.php
index 980ff172..47928c92 100644
--- a/admin/WebConsole/gestores/gestor_tareas.php
+++ b/admin/WebConsole/gestores/gestor_tareas.php
@@ -141,8 +141,8 @@ function Gestiona(){
global $op_eliminacion;
global $op_movida;
global $op_ejecucion;
-
global $tablanodo;
+ $resul=false;
$cmd->CreaParametro("@idcentro",$idcentro,1);
$cmd->CreaParametro("@idtarea",$idtarea,1);
@@ -171,7 +171,6 @@ function Gestiona(){
ambito=@ambito,idambito=@idambito
WHERE idtarea=@idtarea";
$resul=$cmd->Ejecutar();
- //echo $cmd->texto;
break;
case $op_eliminacion :
$resul=EliminaTareas($cmd,$idtarea,"idtarea");
@@ -181,7 +180,7 @@ function Gestiona(){
$resul=$cmd->Ejecutar();
break;
case $op_ejecucion :
- $resul=EjecutandoTareas();
+ $resul=EjecutandoTareas();
break;
default:
break;
@@ -213,7 +212,7 @@ function EjecutandoTareas(){
global $EJECUCION_TAREA;
global $PROCESOS;
global $ACCION_INICIADA;
- global $ACCION_SINERRORES;
+ global $ACCION_SINRESULTADO;
global $idcentro;
global $servidorhidra;
global $hidraport;