From 0c252b1d9d22a73c72864c3026ecfcee082a8bfc Mon Sep 17 00:00:00 2001 From: Christian Paminger Date: Wed, 28 May 2008 09:10:53 +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 502418a87..42eb0b335 100644 --- a/include/wochenplan.class.php +++ b/include/wochenplan.class.php @@ -464,7 +464,7 @@ class wochenplan /************************************************************************** * Zeichnen der Stundenplanwoche in HTML */ - function draw_week($user_uid='') + function draw_week($raumres, $user_uid='') { $o_datum=new datum(); // Stundentafel abfragen @@ -632,7 +632,7 @@ class wochenplan else { echo '
'; - if ($this->user=='lektor' && $this->type=='ort' && ($datum>=$datum_res_lektor_start && $datum<=$datum_res_lektor_ende)) + if (($raumres || $this->user=='lektor') && $this->type=='ort' && ($datum>=$datum_res_lektor_start && $datum<=$datum_res_lektor_ende)) echo ''; //&& $datum>=$datum_now echo ''.$this->crlf; }