mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user