Comment code path

remotes/origin/fix-10825
Lukas Reschke 11 years ago
parent 202f1215aa
commit dced436a3a
  1. 1
      settings/controller/userscontroller.php

@ -141,6 +141,7 @@ class UsersController extends Controller {
}
} else {
// Set the $gid parameter to an empty value if the subadmin has no rights to access a specific group
if($gid !== '' && !in_array($gid, \OC_SubAdmin::getSubAdminsGroups($this->userSession->getUser()->getUID()))) {
$gid = '';
}

Loading…
Cancel
Save