Fixed to get question in language of the actual logged-in Master study

When logging in with a Master study, the system was retrieving the
studyplan/study of the highest priored applied Master study. This
behaviour should only occure for Bachelor studies and was leading to
incorrect language setting.

Now if user logs in with a Master study, the actual studyplan/study and
the correct language setting are retrieved.
This commit is contained in:
Cris
2019-05-14 16:34:37 +02:00
committed by hainberg
parent 6cc99bf2b9
commit 94b19d8bd1
2 changed files with 15 additions and 1 deletions
+2
View File
@@ -424,6 +424,8 @@ class prestudent extends person
* Laedt über einen Prestudenten alle anderen Prestudenten einer Person, die aktuell an STG interessiert sind.
* @integer $prestudent_id Prestudent ID, über die alle weiteren Prestudenten ermittelt werden sollen.
* @boolean $prio Wenn true, dann wird nur der Prestudent mit dem am höchsten priorisierten Studiengang zurückgegeben.
* @string $typ Ergebnis nach STG-Typ filtern.
* @string $studiengang_kz Ergebnis nach STG-Kennzahl filtern.
* return Objekt-Array mit allen Prestudenten einer Person, die aktuell an STG interessiert sind.
*/
public function getActualInteressenten($prestudent_id, $prio = false, $typ = NULL, $studiengang_kz = NULL)