Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
0e2732d6
Commit
0e2732d6
authored
Jan 26, 2017
by
Côme Chilliet
Browse files
Fixes
#5357
Restore correct is_account value after simplePlugin resets it in adapt_from_template
parent
2215c549
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/personal/roles/class_userRoles.inc
View file @
0e2732d6
...
...
@@ -322,5 +322,7 @@ class userRoles extends simplePlugin
unset
(
$this
->
attrs
[
'userRoles'
][
'count'
]);
$this
->
rolesMembership
=
$this
->
attrs
[
'userRoles'
];
}
$this
->
is_account
=
((
count
(
$this
->
rolesMembership
)
>
0
)
||
(
count
(
$this
->
groupsMembership
)
>
0
));
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment