Change occurances of user->profileField to user->get
This commit is contained in:
parent
ae48e7517a
commit
59c03b50e7
41 changed files with 86 additions and 86 deletions
|
|
@ -169,7 +169,7 @@ sub getAdminFunction {
|
|||
elsif (defined $functions->{$function}{groupSetting}) {
|
||||
$canUse = $user->isInGroup($setting->get($functions->{$function}{groupSetting}));
|
||||
}
|
||||
if ($functions->{$function}{uiLevel} > $user->profileField("uiLevel")) {
|
||||
if ($functions->{$function}{uiLevel} > $user->get("uiLevel")) {
|
||||
$canUse = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue