summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/propiedades/propiedades_aulas.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/propiedades/propiedades_aulas.php')
-rw-r--r--admin/WebConsole/propiedades/propiedades_aulas.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/propiedades/propiedades_aulas.php b/admin/WebConsole/propiedades/propiedades_aulas.php
index 76a8662d..fc5a73c9 100644
--- a/admin/WebConsole/propiedades/propiedades_aulas.php
+++ b/admin/WebConsole/propiedades/propiedades_aulas.php
@@ -449,7 +449,7 @@ function TomaPropiedades($cmd,$ida)
$rs=new Recordset;
- $cmd->texto="SELECT count( * ) AS numordenadores, aulas.* ,
+ $cmd->texto="SELECT COUNT(ordenadores.idordenador) AS numordenadores, aulas.* ,
group_concat(DISTINCT cast( ordenadores.idmenu AS char( 11 ) )
ORDER BY ordenadores.idmenu SEPARATOR ',' ) AS idmenus,
group_concat(DISTINCT cast( ordenadores.idrepositorio AS char( 11 ) )