From f57b99252a42969706015ad1de85dce7da4b0691 Mon Sep 17 00:00:00 2001 From: oesi Date: Tue, 30 Jun 2015 11:15:27 +0200 Subject: [PATCH] =?UTF-8?q?Eintragen=20von=20Nachpr=C3=BCfungen=20auch=20d?= =?UTF-8?q?ann=20m=C3=B6glich=20wenn=20nur=20eine=20Zeugnisnote=20vorhande?= =?UTF-8?q?n=20ist=20und=20noch=20keine=20lvgesamtnote?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php b/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php index d1b6b171a..a04f89ae2 100644 --- a/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php +++ b/cis/private/lehre/benotungstool/lvgesamtnoteverwalten.php @@ -339,7 +339,10 @@ foreach($noten_obj->result as $row) { notentd.removeChild(notentd.lastChild); } - var notentext = noten_array[note]+' ('+punkte+')'; + if(punkte!='') + var notentext = noten_array[note]+' ('+punkte+')'; + else + var notentext = noten_array[note]; notenode = document.createTextNode(notentext); notentd.appendChild(notenode); } @@ -1138,7 +1141,7 @@ echo " } else { - if (!is_null($note_lv)) + if (!is_null($note_lv) || !is_null($znote)) echo ""; else echo "";