diff options
Diffstat (limited to 'www-ssl/nonpublic/schichtplan.php')
-rwxr-xr-x | www-ssl/nonpublic/schichtplan.php | 6 |
1 files changed, 4 insertions, 2 deletions
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<th>". $RoomEntry["Name"]. "</th>\n"; } @@ -135,7 +136,8 @@ else if( $raum == -1 ) { - foreach( $Room as $RoomEntry ) + if( isset($Room)) + foreach( $Room as $RoomEntry ) if (SummRoomShifts($RoomEntry["RID"]) > 0) CreateRoomShifts( $RoomEntry["RID"] ); } |