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
|
|
@ -111,7 +111,7 @@ sub process {
|
|||
my %rawCategories = %{$config->get('assetCategories')};
|
||||
my %categories;
|
||||
my %categoryTitles;
|
||||
my $userUiLevel = $user->profileField('uiLevel');
|
||||
my $userUiLevel = $user->get('uiLevel');
|
||||
foreach my $category (keys %rawCategories) {
|
||||
next if $rawCategories{$category}{uiLevel} > $userUiLevel;
|
||||
next if (exists $rawCategories{$category}{group} && !$user->isInGroup($rawCategories{$category}{group}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue