aboutsummaryrefslogtreecommitdiff
path: root/lib/models/Statusgruppen.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-04-25 10:21:20 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2022-04-25 10:21:20 +0000
commit1d997428ede69fd8869725081835ea29a8c5e207 (patch)
treec5fdb2de2001fe5492c0d0e49d51fb7bfef2931e /lib/models/Statusgruppen.php
parent12e12fd7800dd541fc1612af0289b73636fe2b09 (diff)
fix relation blubberthread on Statusgruppen model and sanitize return value of...
Closes #955
Diffstat (limited to 'lib/models/Statusgruppen.php')
-rw-r--r--lib/models/Statusgruppen.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/models/Statusgruppen.php b/lib/models/Statusgruppen.php
index d064259..873386a 100644
--- a/lib/models/Statusgruppen.php
+++ b/lib/models/Statusgruppen.php
@@ -75,6 +75,7 @@ class Statusgruppen extends SimpleORMap implements PrivacyObject
];
$config['has_one']['blubberthread'] = [
'class_name' => BlubberStatusgruppeThread::class,
+ 'assoc_func' => 'findByStatusgruppe_id',
'on_store' => 'store',
'on_delete' => 'delete'
];