Skip to content

Commit

Permalink
Item13125: CGI Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Dec 12, 2014
1 parent e36c320 commit e153a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Macros/QUERYPARAMS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sub QUERYPARAMS {
my $encoding = $params->{encoding} || 'safe';

my @list;
foreach my $name ( $this->{request}->param() ) {
foreach my $name ( $this->{request}->multi_param() ) {

# Issues multi-valued parameters as separate hiddens
my $value = $this->{request}->param($name);
Expand Down
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Macros/REVTITLE.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sub REVTITLE {
my $request = $this->{request};
my $out = '';
if ($request) {
my $rev = Foswiki::Store::cleanUpRevID( $request->param('rev') );
my $rev = Foswiki::Store::cleanUpRevID( scalar $request->param('rev') );
$out = '(r' . $rev . ')' if ($rev);
}
return $out;
Expand Down

0 comments on commit e153a0b

Please sign in to comment.