summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/schichtplan.2.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-10 19:37:59 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-10 19:37:59 +0000
commite87e62d953ec5d4a79390ce28ef88fe43a816473 (patch)
tree5ee6538614a28e5aa075f620e53a36568e87d116 /www-ssl/nonpublic/schichtplan.2.php
parentf57b0c9137ab8d5278715f2cedf34eabb14ee3d5 (diff)
probleme mit leeren tabellen beseitigt
git-svn-id: svn://svn.cccv.de/engel-system@157 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/nonpublic/schichtplan.2.php')
-rwxr-xr-xwww-ssl/nonpublic/schichtplan.2.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/www-ssl/nonpublic/schichtplan.2.php b/www-ssl/nonpublic/schichtplan.2.php
index 2074e3fa..bfa1d5a4 100755
--- a/www-ssl/nonpublic/schichtplan.2.php
+++ b/www-ssl/nonpublic/schichtplan.2.php
@@ -4,15 +4,16 @@
include ("./inc/funktion_schichtplan_aray.php");
-foreach( $Room as $RoomEntry )
-{
+if( isset ($Room))
+ foreach( $Room as $RoomEntry )
+ {
if(isset($ausdatum))
echo "\t<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=". $RoomEntry["RID"]. "'>".
$RoomEntry["Name"]. "</a></li>\n";
else
echo "\t<li><a href='./schichtplan.php?raum=". $RoomEntry["RID"]. "'>".
$RoomEntry["Name"]. "</a></li>\n";
-}
+ }
echo "<br>";
if(isset($ausdatum))
echo "<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=-1'>alle</a></li>";