fixed: Back to Site link in asset manager points to wrong location

fixed: Some import node folders have invalid template
This commit is contained in:
Graham Knop 2008-08-19 17:36:17 +00:00
parent b02b4823ff
commit 27a76cd9a3
8 changed files with 18 additions and 0 deletions

View file

@ -238,6 +238,7 @@ sub handler {
my ( $session ) = @_;
if ( $session->form->get( 'op' ) eq 'assetManager' && getCurrentAsset( $session ) ) {
$session->asset(getCurrentAsset($session));
return $session->privilege->noAccess unless getCurrentAsset( $session )->canEdit;