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;