fixed a syntax error and the Page and PageTitle macros
This commit is contained in:
parent
81ff5f1c48
commit
2050de56cd
3 changed files with 11 additions and 10 deletions
|
|
@ -16,10 +16,11 @@ use WebGUI::Session;
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
my (@param, $temp);
|
||||
@param = WebGUI::Macro::getParams($_[0]);
|
||||
$temp = $session{page}{$param[0]};
|
||||
return $temp;
|
||||
my @param = WebGUI::Macro::getParams($_[0]);
|
||||
if (exists $session{asset}) {
|
||||
return $session{asset}->get($param[0]);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue