Merge branch 'bugfixes-Sprint172/Diverse_Bugfixes'

This commit is contained in:
Andreas Österreicher
2021-06-14 13:02:27 +02:00
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -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;
}
+1 -3
View File
@@ -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))