mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
Fehler behoben beim dem in seltenen Fällen Warnings angezeigt wurden wenn im Tempus ein Raumvorschlag erstellt wird
This commit is contained in:
@@ -2122,6 +2122,8 @@ class wochenplan extends basis_db
|
|||||||
$month=mb_substr($row->datum, 5,2);
|
$month=mb_substr($row->datum, 5,2);
|
||||||
$jahr=mb_substr($row->datum, 0,4);
|
$jahr=mb_substr($row->datum, 0,4);
|
||||||
$tag=date("w",mktime(12,0,0,$month,$mtag,$jahr));
|
$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;
|
$raster[$tag][$row->stunde]->kollision=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user