From b3f1b3384a8323af667d7adac80fcb66bb91fdc4 Mon Sep 17 00:00:00 2001 From: Christian Paminger Date: Tue, 26 Feb 2008 15:18:42 +0000 Subject: [PATCH] --- include/wochenplan.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wochenplan.class.php b/include/wochenplan.class.php index e987e7160..8d82d004d 100644 --- a/include/wochenplan.class.php +++ b/include/wochenplan.class.php @@ -495,7 +495,7 @@ class wochenplan $datum_res_lektor_ende=$o_datum->mktime_fromdate(RES_TAGE_LEKTOR_BIS); //jump_day($datum_now,RES_TAGE_LEKTOR_MAX); if (!date("w",$this->datum)) $this->datum=jump_day($this->datum,1); - $datum=$this->datum; + $datum=$datum_mon=$this->datum; for ($i=1; $i<7; $i++) { echo ' '.date("l",$datum).'
'.date("j. M y",$datum).'
'.$this->crlf; //.strftime("%A %d %B %Y",$this->datum) @@ -638,7 +638,7 @@ class wochenplan $datum=jump_day($datum, 1); } echo ' '.$this->crlf; - if ($this->user=='lektor' && $this->type=='ort' && ($datum>=$datum_now && $datum>=$datum_res_lektor_start && $datum<=$datum_res_lektor_ende)) + if ($this->user=='lektor' && $this->type=='ort' && ($datum>=$datum_now && $datum>=$datum_res_lektor_start && $datum_mon<=$datum_res_lektor_ende)) { echo '
Titel: '.$this->crlf; echo ' Beschreibung: '.$this->crlf;