diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-11-06 16:33:22 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-11-06 16:33:22 +0000 |
commit | de656d885e687337698016024304300a8ac749ea (patch) | |
tree | a03f6455575d34cb7d8f56c5d9d3d4a924704314 /inc/funktion_schichtplan.php | |
parent | fc585473934605d12b2e970436bb81f6b28cd7e8 (diff) |
und noch ein bichen
git-svn-id: svn://svn.cccv.de/engel-system@16 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'inc/funktion_schichtplan.php')
-rwxr-xr-x | inc/funktion_schichtplan.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/inc/funktion_schichtplan.php b/inc/funktion_schichtplan.php index 5d32b42c..6810f6df 100755 --- a/inc/funktion_schichtplan.php +++ b/inc/funktion_schichtplan.php @@ -113,9 +113,10 @@ function ausgabe_Feld_Inhalt( $SID, $Man ) /////////////////////////////////////////////////////////////////// // Aus gabe der Schicht /////////////////////////////////////////////////////////////////// - if( count($Temp) ) - foreach( $Temp as $TempEntry => $TempValue ) - { + if( isset($Temp)) + if( count($Temp) ) + foreach( $Temp as $TempEntry => $TempValue ) + { // ausgabe EngelType $Spalten.= $EngelTypeID[ $TempValue["TID"] ]. " "; @@ -331,6 +332,7 @@ function showEmptyShifts( ) $angezeigt = 0; for ($i=0; ($i<mysql_num_rows($Erg)) && ($angezeigt< 15); $i++) + if( isset($RoomID[mysql_result( $Erg, $i, "RID")])) if( $RoomID[mysql_result( $Erg, $i, "RID")]!="" ) { $Sql2 = "SELECT `UID` FROM `ShiftEntry` ". |