summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-27 22:20:13 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-27 22:20:13 +0000
commit705d511183d976e77db7772f60c7809403a21b49 (patch)
treee2750310f3b78d90df55c6413024f9ed23f5da8f /www-ssl/nonpublic
parent08f87280140968714d3cb0c880d7b83ae6e55f8c (diff)
leeres feld abgefangen
git-svn-id: svn://svn.cccv.de/engel-system@179 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/nonpublic')
-rwxr-xr-xwww-ssl/nonpublic/schichtplan.php6
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"] );
}