summaryrefslogtreecommitdiff
path: root/www-ssl/inc/funktion_xml_schudle.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/inc/funktion_xml_schudle.php')
-rwxr-xr-xwww-ssl/inc/funktion_xml_schudle.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/www-ssl/inc/funktion_xml_schudle.php b/www-ssl/inc/funktion_xml_schudle.php
index c9f68501..6d1b2974 100755
--- a/www-ssl/inc/funktion_xml_schudle.php
+++ b/www-ssl/inc/funktion_xml_schudle.php
@@ -150,7 +150,11 @@ foreach($XMLmain->sub as $EventKey => $Event)
$SIDDB = mysql_result($Erg, 0, "SID");
$TimeDB = mysql_result($Erg, 0, "DateS");
$LenDB = mysql_result($Erg, 0, "Len");
- $RIDDB = $RoomID[mysql_result($Erg, 0, "RID")];
+ if( isset($RoomID[mysql_result($Erg, 0, "RID")]))
+ $RIDDB = $RoomID[mysql_result($Erg, 0, "RID")];
+ else
+ $RIDDB = "RID". mysql_result($Erg, 0, "RID");
+
$ManDB = mysql_result($Erg, 0, "Man");
}
else