From 0854ee89f828b3c3aaec1fe5a80863761f8a3317 Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Wed, 22 Jul 2020 18:18:09 +0200 Subject: #969 arbol.php function 'nodos_arbol': fix bug in SQL request for tasks. --- admin/WebConsole/includes/arbol.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/WebConsole/includes/arbol.php b/admin/WebConsole/includes/arbol.php index d1cbe997..7bfca904 100644 --- a/admin/WebConsole/includes/arbol.php +++ b/admin/WebConsole/includes/arbol.php @@ -328,7 +328,7 @@ function nodos_arbol($tipo_nodo){ case 'tareas': global $AMBITO_GRUPOSTAREAS; $num_tipo=$AMBITO_GRUPOSTAREAS; - $sql="SELECT idtarea AS id, descripcion AS nombre, num_tipo, '$AMBITO_GRUPOSTAREAS' AS conjuntoid, grupoid + $sql="SELECT idtarea AS id, descripcion AS nombre, '$AMBITO_GRUPOSTAREAS' AS conjuntoid, grupoid FROM tareas WHERE idcentro=$idcentro ORDER BY conjuntoid, grupoid;"; break; -- cgit v1.2.3-18-g5258