replaced $session{cgi} with $session{req}
This commit is contained in:
parent
1b0adbb416
commit
c01d7e49d5
33 changed files with 76 additions and 66 deletions
|
|
@ -121,7 +121,7 @@ Returns either what's posted or if nothing comes back it returns "2" the ID of t
|
|||
|
||||
sub getValueFromPost {
|
||||
my $self = shift;
|
||||
my @data = $session{cgi}->param($self->{name});
|
||||
my @data = $session{req}->param($self->{name});
|
||||
if (scalar(@data)) {
|
||||
return wantarray ? @data : join("\n",@data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue