fix for sf bug 1191744, default templates wrong
This commit is contained in:
parent
959872102e
commit
ef4065559e
8 changed files with 8 additions and 24 deletions
|
|
@ -38,11 +38,7 @@ sub process {
|
|||
} else {
|
||||
$var{'printable.text'} = WebGUI::International::get(53,'Macro_r_printable');
|
||||
}
|
||||
if ($param[2]) {
|
||||
$temp = WebGUI::Asset::Template->newByUrl($param[2])->process(\%var);
|
||||
} else {
|
||||
$temp = WebGUI::Asset::Template->new("PBtmpl0000000000000109")->process(\%var);
|
||||
}
|
||||
$temp = WebGUI::Asset::Template->newByUrl($param[2] || "default_make_printable")->process(\%var);
|
||||
}
|
||||
return $temp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue