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
|
|
@ -1,6 +1,7 @@
|
||||||
6.0.3
|
6.0.3
|
||||||
- Fixed a recursive style change bug.
|
- Fixed a recursive style change bug.
|
||||||
- Bugfix [ 953593 ] perl -MWebGUI -e "" fails
|
- Bugfix [ 953593 ] perl -MWebGUI -e "" fails
|
||||||
|
- Bugfix [ 955397 ] Make Page Printable Macro Fails
|
||||||
|
|
||||||
|
|
||||||
6.0.2
|
6.0.2
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,11 @@ use WebGUI::Utility;
|
||||||
sub process {
|
sub process {
|
||||||
my ($temp, @param, $styleId);
|
my ($temp, @param, $styleId);
|
||||||
@param = WebGUI::Macro::getParams($_[0]);
|
@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 "") {
|
if ($param[1] ne "") {
|
||||||
($styleId) = WebGUI::SQL->quickArray("select styleId from style where name=".quote($param[1]));
|
($styleId) = WebGUI::SQL->quickArray("select styleId from style where name=".quote($param[1]));
|
||||||
if ($styleId != 0) {
|
if ($styleId != 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue