Fehlerhafte Anzeige der Gruppenzuordnung im ICal Export behoben wenn mehrere LVs zur gleichen Zeit im selben Raum eingetragen sind

This commit is contained in:
Andreas Österreicher
2014-07-07 08:20:16 +00:00
parent 12e7649f74
commit 61176a4c7d
+4 -4
View File
@@ -2156,8 +2156,8 @@ class wochenplan extends basis_db
// Lehrverband
if ($this->type!='verband')
{
$lehrverband=array_unique($lehrverband);
sort($lehrverband);
// $lehrverband=array_unique($lehrverband);
// sort($lehrverband);
$lvb='';
foreach ($lehrverband as $l)
$lvb.=$l.' ';
@@ -2355,8 +2355,8 @@ class wochenplan extends basis_db
$Summary = $lehrfach[$idx].' '.$this->std_plan[$i][$j][$idx]->ort.' - '.$lvb;
$description = $lehrfach[$idx].'\n'.$this->std_plan[$i][$j][$idx]->lektor.'\n'.$lvb.'\n'.$this->std_plan[$i][$j][$idx]->ort;
$UID = str_replace(',',' ',$UID);
$Summary = str_replace(',',' ',$Summary);
$UID = str_replace(',',' ',$UID);
$Summary = str_replace(',',' ',$Summary);
$description = str_replace(',',' ',$description);
$return[]=array('UID'=>$UID,