diff options
Diffstat (limited to 'www-ssl/inc/funktion_schichtplan_beamer.php')
-rwxr-xr-x | www-ssl/inc/funktion_schichtplan_beamer.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www-ssl/inc/funktion_schichtplan_beamer.php b/www-ssl/inc/funktion_schichtplan_beamer.php index acd6e110..280b2cb9 100755 --- a/www-ssl/inc/funktion_schichtplan_beamer.php +++ b/www-ssl/inc/funktion_schichtplan_beamer.php @@ -130,7 +130,10 @@ function ausgabe_Feld_Inhalt( $SID, $Man ) if( mysql_num_rows( $Ergerlaubnis)) if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y" || $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "") - $Out.= $TempValue["free"]. "x free "; + { + if ( $TempValue["free"] > 0) + $Out.= ", ". $TempValue["free"]. "x free "; + } $Out.= "</td>\n"; $Out.= "\t\t\t</tr>\n"; |