summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/principal/aula.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/principal/aula.php')
-rw-r--r--admin/WebConsole/principal/aula.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/principal/aula.php b/admin/WebConsole/principal/aula.php
index f687c0b6..f300c508 100644
--- a/admin/WebConsole/principal/aula.php
+++ b/admin/WebConsole/principal/aula.php
@@ -187,7 +187,7 @@ function RecorreAulas($cmd){
while (!$rs->EOF){
$idaula=$rs->campos["idaula"];
$nombreaula=$rs->campos["nombreaula"];
- $idordprofesor=$rs->campos["idordprofesor"];
+ $idordprofesor=(isset($rs->campos["idordprofesor"]) ? $rs->campos["idordprofesor"] : 0);
$cmd->texto="SELECT idordenador,nombreordenador,ip,mac FROM ordenadores WHERE idaula=".$idaula;
$k=0;
$cadenaip="";