summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/varios
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2018-10-29 13:47:46 +0100
committerRamón M. Gómez <ramongomez@us.es>2018-10-29 13:47:46 +0100
commit7dc04cc12bc303c0e7ecc90a95968de7d1d2c4b9 (patch)
tree30af4dac81ee49631f7662a371681a7d401c4e5e /admin/WebConsole/varios
parent5f4cfdc54fa6a4762942abfb24d1acca9535c805 (diff)
#870: Solving SQL bug from commit {{{50b2715}}}.
Diffstat (limited to 'admin/WebConsole/varios')
-rw-r--r--admin/WebConsole/varios/buscar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/varios/buscar.php b/admin/WebConsole/varios/buscar.php
index 1d65b14d..552e32b7 100644
--- a/admin/WebConsole/varios/buscar.php
+++ b/admin/WebConsole/varios/buscar.php
@@ -117,7 +117,7 @@ if (!empty ($valor) or $criterio == "duplic" or $criterio == "profe" or $criteri
FROM ordenadores
JOIN aulas ON aulas.idaula=ordenadores.idaula
LEFT JOIN grupos ON grupos.idgrupo=aulas.grupoid
- AND aulas.idcentro='$idcentro'
+ WHERE aulas.idcentro='$idcentro'
AND idrepositorio=0
ORDER BY aulas.nombreaula;";
break;