leeres feld abgefangen

git-svn-id: svn://svn.cccv.de/engel-system@179 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2006-11-27 22:20:13 +00:00
parent 08f8728014
commit 705d511183
1 changed files with 4 additions and 2 deletions

View File

@ -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"] );
}