From e87e62d953ec5d4a79390ce28ef88fe43a816473 Mon Sep 17 00:00:00 2001 From: cookie Date: Fri, 10 Nov 2006 19:37:59 +0000 Subject: probleme mit leeren tabellen beseitigt git-svn-id: svn://svn.cccv.de/engel-system@157 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/nonpublic/schichtplan.2.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'www-ssl/nonpublic/schichtplan.2.php') 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
  • ". $RoomEntry["Name"]. "
  • \n"; else echo "\t
  • ". $RoomEntry["Name"]. "
  • \n"; -} + } echo "
    "; if(isset($ausdatum)) echo "
  • alle
  • "; -- cgit v1.2.3-54-g00ecf