Asset::Template cleanups
This commit is contained in:
parent
1c211d5669
commit
264352aec0
3 changed files with 22 additions and 13 deletions
|
|
@ -151,7 +151,7 @@ sub view {
|
|||
WebGUI::Macro::process($self->session,\$output);
|
||||
$output = '<p>'.$self->getToolbar.'</p>'.$output if ($self->session->var->get("adminOn") && !$calledAsWebMethod);
|
||||
return $output unless ($self->getValue("processAsTemplate"));
|
||||
return WebGUI::Asset::Template->processRaw($output);
|
||||
return WebGUI::Asset::Template->processRaw($self->session, $output);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue