From 1e013e371d117409249ebb1d5822f7601f997469 Mon Sep 17 00:00:00 2001 From: cris-technikum Date: Tue, 25 May 2021 17:10:06 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Bugfix-12064/Keine=20LV-Anzeige=20f=C3=BCr?= =?UTF-8?q?=20WS2020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Beim Prüfen, ob ein Lehrvertrag für die Lehreinheit vorliegt, muss die UID übergeben werden, denn diese wird entweder über GET param übergeben oder mit dem aktuellen user gleichgesetzt. Signed-off-by: cris-technikum --- cis/private/profile/lva_liste.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cis/private/profile/lva_liste.php b/cis/private/profile/lva_liste.php index 4b0cedc02..6f78cf8c8 100644 --- a/cis/private/profile/lva_liste.php +++ b/cis/private/profile/lva_liste.php @@ -217,7 +217,7 @@ if ($num_rows > 0) && CIS_LV_LEKTORINNENZUTEILUNG_VERTRAGSPRUEFUNG_VON != '') { $vertrag = new vertrag(); - if (!$vertrag->isVertragErteiltLE($row->lehreinheit_id, $stdsem, $user)) + if (!$vertrag->isVertragErteiltLE($row->lehreinheit_id, $stdsem, $uid)) { continue; } From 5ac2c1f9a675805ff79023a127dc6390419bd117 Mon Sep 17 00:00:00 2001 From: cris-technikum Date: Wed, 26 May 2021 11:51:27 +0200 Subject: [PATCH 2/2] Bugfix-13280/Lehrtaetigkeitsbestaetigung: Betreuungen ohne Stundensatz In der Bestaetigung werden nun auch die Projektarbeitsbetreuungs-Stunden aufgerechnet, bei denen kein Stundensatz hinterlegt ist. Signed-off-by: cris-technikum --- include/projektbetreuer.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/projektbetreuer.class.php b/include/projektbetreuer.class.php index 3ab0dd30a..04ba36b26 100644 --- a/include/projektbetreuer.class.php +++ b/include/projektbetreuer.class.php @@ -335,7 +335,7 @@ class projektbetreuer extends basis_db } /** - * Retrieves all projektarbeiten by person (only with stundensatz > 0) + * Retrieves all projektarbeiten by person * @param $person_id * @return boolean If succeeded true and result-array with objects of each projektarbeit of the person. */ @@ -349,8 +349,6 @@ class projektbetreuer extends basis_db FROM lehre.tbl_projektbetreuer WHERE - (stundensatz IS NOT NULL) AND (stundensatz > 0) - AND person_id =' . $this->db_add_param($person_id, FHC_INTEGER); if ($this->db_query($qry))