From bb19b4336f2e4f7b4aadf3ed4006691019ba70cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Thu, 3 Sep 2009 09:35:39 +0000 Subject: [PATCH] =?UTF-8?q?-=20Bugfix=20beim=20Speichern=20von=20komm.=20P?= =?UTF-8?q?r=C3=BCfungen=20und=20=C3=BCbernahme=20der=20Noten=20ins=20Zeug?= =?UTF-8?q?nis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/student/studentDBDML.php | 4 ++-- include/mitarbeiter.class.php | 4 ++-- include/tw/cis_menu_lv.inc.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/student/studentDBDML.php b/content/student/studentDBDML.php index 43b2ce67e..dc6d4397e 100644 --- a/content/student/studentDBDML.php +++ b/content/student/studentDBDML.php @@ -2566,7 +2566,7 @@ if(!$error) else $checkdatum = $zeugnisnote->uebernahmedatum; - if($datum_obj->mktime_fromtimestamp($checkdatum)>$datum_obj->mktime_datum($_POST['datum'])) + if($datum_obj->mktime_fromtimestamp($checkdatum)>$datum_obj->mktime_fromdate($_POST['datum'])) { if($zeugnisnote->note!=$_POST['note']) { @@ -2594,7 +2594,7 @@ if(!$error) $zeugnisnote->studiensemester_kurzbz = $studiensemester_kurzbz; $zeugnisnote->note = $_POST['note']; $zeugnisnote->uebernahmedatum = date('Y-m-d H:i:s'); - $zeugnisnote->benotungsdatum = date('Y-m-d',$datum_obj->mktime_datum($_POST['datum'])); + $zeugnisnote->benotungsdatum = date('Y-m-d',$datum_obj->mktime_fromdate($_POST['datum'])); $zeugnisnote->updateamum = date('Y-m-d H:i:s'); $zeugnisnote->updatevon = $user; diff --git a/include/mitarbeiter.class.php b/include/mitarbeiter.class.php index 82cb18102..0ce814d2f 100644 --- a/include/mitarbeiter.class.php +++ b/include/mitarbeiter.class.php @@ -142,9 +142,9 @@ class mitarbeiter extends benutzer $this->errormsg = "kurzbz darf nicht laenger als 8 Zeichen sein\n"; return false; } - if(mb_strlen($this->ort_kurzbz)>8) + if(mb_strlen($this->ort_kurzbz)>16) { - $this->errormsg = "Ort_kurzbz darf nicht laenger als 8 Zeichen sein\n"; + $this->errormsg = "Ort_kurzbz darf nicht laenger als 16 Zeichen sein\n"; return false; } if(!is_bool($this->lektor)) diff --git a/include/tw/cis_menu_lv.inc.php b/include/tw/cis_menu_lv.inc.php index cf042062a..49d763a34 100644 --- a/include/tw/cis_menu_lv.inc.php +++ b/include/tw/cis_menu_lv.inc.php @@ -334,7 +334,7 @@ //Keine Newsgroups fuer Studiengang '0' (Freifaecher) anzeigen if($studiengang_kz!='0') { - echo ' + echo '
Newsgroups
';