bunch of fixes
This commit is contained in:
parent
02e687d04c
commit
156f48f465
10 changed files with 45 additions and 23 deletions
|
|
@ -1676,7 +1676,7 @@ sub template {
|
|||
|
||||
#Remove entries from template list that the user does not have permission to view.
|
||||
for my $assetId ( keys %{$templateList} ) {
|
||||
my $asset = WebGUI::Asset->new($assetId);
|
||||
my $asset = WebGUI::Asset::Template->new($assetId);
|
||||
|
||||
if (!$asset->canView($userId)) {
|
||||
delete $templateList->{$assetId};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue