Adapt to recent changes in Roundcube core
This commit is contained in:
parent
eb29aaeb96
commit
d85e012596
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ class kolab_auth extends rcube_plugin
|
|||
// check group
|
||||
if (!$isadmin && !empty($group)) {
|
||||
$groups = $ldap->get_record_groups($record['ID']);
|
||||
foreach ($groups as $g) {
|
||||
foreach ($groups as $g => $prop) {
|
||||
if ($group == rcube_ldap::dn_decode($g)) {
|
||||
$isadmin = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue