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
|
|
@ -572,7 +572,7 @@ Renders the form field to HTML as a table row complete with labels, subtext, hov
|
|||
sub passUiLevelCheck {
|
||||
my $self = shift;
|
||||
my $user = $self->session->user;
|
||||
return $self->get("uiLevel") <= $user->profileField("uiLevel") || $user->isAdmin;
|
||||
return $self->get("uiLevel") <= $user->get("uiLevel") || $user->isAdmin;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue