- fix: Help is missing style
- fix: Setting expire password on user creation does nothing - fix: Collaboration settings in help - Lots of template fixes.
This commit is contained in:
parent
8d93d6bf2b
commit
771d11f833
12 changed files with 181 additions and 208 deletions
|
|
@ -364,6 +364,8 @@ sub tryAssetMethod {
|
|||
my $session = shift;
|
||||
my $asset = shift;
|
||||
my $method = shift;
|
||||
my $state = $asset->get("state");
|
||||
return undef if ($state ne "published" && $state ne "archived" && !$session->var->isAdminOn); # can't interact with an asset if it's not published
|
||||
$session->asset($asset);
|
||||
my $methodToTry = "www_".$method;
|
||||
my $output = eval{$asset->$methodToTry()};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue