diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2022-01-25 17:12:07 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-04-13 09:42:46 +0000 |
| commit | c0677b9ed4e74550cb7880fbe72415e92907a5d7 (patch) | |
| tree | 911fc118417c23f786cb22f50b2c2202d48fb794 /lib/plugins/db/RolePersistence.class.php | |
| parent | 7fca46eda99e80f3ffd48126e356546094a68cc9 (diff) | |
apply changeset 58890 from svn, re #588tic-588
Diffstat (limited to 'lib/plugins/db/RolePersistence.class.php')
| -rw-r--r-- | lib/plugins/db/RolePersistence.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/db/RolePersistence.class.php b/lib/plugins/db/RolePersistence.class.php index 88abce3..594eba9 100644 --- a/lib/plugins/db/RolePersistence.class.php +++ b/lib/plugins/db/RolePersistence.class.php @@ -221,7 +221,7 @@ class RolePersistence $cache = self::getUserRolesCache(); if (!isset($cache[$user_id])) { - $query = "SELECT DISTINCT * + $query = "SELECT SQL_CACHE DISTINCT * FROM ( SELECT `roleid`, `institut_id`, 1 AS explicit FROM `roles_user` |
