bugfix [ 955397 ] Make Page Printable Macro Fails
This commit is contained in:
parent
cdcdd2094e
commit
1ff8ffff7e
2 changed files with 6 additions and 1 deletions
|
|
@ -22,7 +22,11 @@ use WebGUI::Utility;
|
|||
sub process {
|
||||
my ($temp, @param, $styleId);
|
||||
@param = WebGUI::Macro::getParams($_[0]);
|
||||
$temp = WebGUI::URL::append($session{env}{REQUEST_URI},'op=makePrintable');
|
||||
my $append = 'op=makePrintable';
|
||||
if ($session{env}{REQUEST_URI} =~ /op\=/) {
|
||||
$append = 'action2='.WebGUI::URL::escape($append);
|
||||
}
|
||||
$temp = WebGUI::URL::append($session{env}{REQUEST_URI},$append);
|
||||
if ($param[1] ne "") {
|
||||
($styleId) = WebGUI::SQL->quickArray("select styleId from style where name=".quote($param[1]));
|
||||
if ($styleId != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue