leeres feld abgefangen

git-svn-id: svn://svn.cccv.de/engel-system@179 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 18 years ago
parent 08f8728014
commit 705d511183

@ -98,7 +98,8 @@ else
//Ausgabe Spalten überschrift //Ausgabe Spalten überschrift
if( $raum == -1 ) if( $raum == -1 )
{ {
foreach( $Room as $RoomEntry ) if( isset($Room))
foreach( $Room as $RoomEntry )
if (SummRoomShifts($RoomEntry["RID"]) > 0) if (SummRoomShifts($RoomEntry["RID"]) > 0)
echo "\t\t<th>". $RoomEntry["Name"]. "</th>\n"; echo "\t\t<th>". $RoomEntry["Name"]. "</th>\n";
} }
@ -135,7 +136,8 @@ else
if( $raum == -1 ) if( $raum == -1 )
{ {
foreach( $Room as $RoomEntry ) if( isset($Room))
foreach( $Room as $RoomEntry )
if (SummRoomShifts($RoomEntry["RID"]) > 0) if (SummRoomShifts($RoomEntry["RID"]) > 0)
CreateRoomShifts( $RoomEntry["RID"] ); CreateRoomShifts( $RoomEntry["RID"] );
} }

Loading…
Cancel
Save