Merge pull request #14408 from ibennetch/14407
Fix Uncaught TypeError in privilege editor
This commit is contained in:
commit
a2c4827e0b
@ -590,6 +590,7 @@ class Privileges
|
||||
*/
|
||||
public function setUserGroup($username, $userGroup)
|
||||
{
|
||||
$userGroup = is_null($userGroup) ? '' : $userGroup;
|
||||
$relation = new Relation();
|
||||
$cfgRelation = $relation->getRelationsParam();
|
||||
if (empty($cfgRelation['db']) || empty($cfgRelation['users']) || empty($cfgRelation['usergroups'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user