diff --git a/www-ssl/nonpublic/schichtplan.php b/www-ssl/nonpublic/schichtplan.php index 0b5496e6..6893b062 100755 --- a/www-ssl/nonpublic/schichtplan.php +++ b/www-ssl/nonpublic/schichtplan.php @@ -98,7 +98,8 @@ else //Ausgabe Spalten überschrift if( $raum == -1 ) { - foreach( $Room as $RoomEntry ) + if( isset($Room)) + foreach( $Room as $RoomEntry ) if (SummRoomShifts($RoomEntry["RID"]) > 0) echo "\t\t