mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
BugFix DISTINCT in getOrganisationunitsByPersonId
This commit is contained in:
@@ -556,7 +556,7 @@ class Prestudent_model extends DB_Model
|
||||
*/
|
||||
public function getOrganisationunitsByPersonId($person_id)
|
||||
{
|
||||
$query = 'SELECT o.oe_kurzbz,
|
||||
$query = 'SELECT DISTINCT o.oe_kurzbz,
|
||||
o.bezeichnung,
|
||||
(CASE
|
||||
WHEN sg.typ = \'b\' THEN ps.prestudent_id
|
||||
|
||||
Reference in New Issue
Block a user