From 61176a4c7d891d69b12c50799c9ec046742aaf9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 7 Jul 2014 08:20:16 +0000 Subject: [PATCH] Fehlerhafte Anzeige der Gruppenzuordnung im ICal Export behoben wenn mehrere LVs zur gleichen Zeit im selben Raum eingetragen sind --- include/wochenplan.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wochenplan.class.php b/include/wochenplan.class.php index 67d64cfd7..56f337b0d 100644 --- a/include/wochenplan.class.php +++ b/include/wochenplan.class.php @@ -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,