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; } 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))