summaryrefslogtreecommitdiff
path: root/www-ssl/inc/funktion_schichtplan_beamer.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/inc/funktion_schichtplan_beamer.php')
-rwxr-xr-xwww-ssl/inc/funktion_schichtplan_beamer.php5
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";