diff options
Diffstat (limited to 'www-ssl/inc/funktion_xml_schudle.php')
-rwxr-xr-x | www-ssl/inc/funktion_xml_schudle.php | 6 |
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 |