diff options
author | ramon <ramongomez@us.es> | 2012-09-14 12:45:17 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-09-14 12:45:17 +0000 |
commit | 58f8002436c90cf4e502ae0b76134e425c9b5398 (patch) | |
tree | 37598797a019deaf1c6fe2e0e05a0307973b9b6f /admin/WebConsole/principal/configuraciones.php | |
parent | bbe1bcfc86a4025b54d71501d381e20472eeebc1 (diff) |
Pantallas de configuración y propiedeades de aulas muestran correctamente el número de ordenadores.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3282 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/principal/configuraciones.php')
-rw-r--r-- | admin/WebConsole/principal/configuraciones.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/principal/configuraciones.php b/admin/WebConsole/principal/configuraciones.php index 3f17fb4d..f252d200 100644 --- a/admin/WebConsole/principal/configuraciones.php +++ b/admin/WebConsole/principal/configuraciones.php @@ -263,9 +263,9 @@ function datosAulas($cmd,$idaula) { global $TbMsg; - $cmd->texto="SELECT DISTINCT aulas.*, COUNT(*) AS numordenadores + $cmd->texto="SELECT DISTINCT aulas.*, COUNT(ordenadores.idordenador) AS numordenadores FROM aulas - INNER JOIN ordenadores ON ordenadores.idaula=aulas.idaula + LEFT JOIN ordenadores ON ordenadores.idaula=aulas.idaula WHERE aulas.idaula=$idaula"; $rs=new Recordset; $rs->Comando=&$cmd; |