From 84e2c8a9f98b17e4e4e494800afd7a968e8b079e Mon Sep 17 00:00:00 2001 From: oesi Date: Wed, 21 Oct 2015 20:11:29 +0200 Subject: [PATCH] =?UTF-8?q?Fehler=20behoben=20beim=20dem=20in=20seltenen?= =?UTF-8?q?=20F=C3=A4llen=20Warnings=20angezeigt=20wurden=20wenn=20im=20Te?= =?UTF-8?q?mpus=20ein=20Raumvorschlag=20erstellt=20wird?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/wochenplan.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wochenplan.class.php b/include/wochenplan.class.php index d3ebaaf6d..e13271d9c 100644 --- a/include/wochenplan.class.php +++ b/include/wochenplan.class.php @@ -2122,6 +2122,8 @@ class wochenplan extends basis_db $month=mb_substr($row->datum, 5,2); $jahr=mb_substr($row->datum, 0,4); $tag=date("w",mktime(12,0,0,$month,$mtag,$jahr)); + if(!isset($raster[$tag][$row->stunde])) + $raster[$tag][$row->stunde]=new stdClass(); $raster[$tag][$row->stunde]->kollision=true; }