a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily.
This commit is contained in:
parent
5fadc70eac
commit
09483e18c5
208 changed files with 505 additions and 533 deletions
|
|
@ -98,7 +98,7 @@ A reference to the current session.
|
|||
|
||||
sub new {
|
||||
my $class = shift;
|
||||
my $session = shift;
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
bless {_session=>$session}, $class;
|
||||
}
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ sub process {
|
|||
my $value;
|
||||
$type = ucfirst($type);
|
||||
$type = "Text" if ($type eq "");
|
||||
$value = $self->$type($self->session,$name);
|
||||
$value = $self->$type($name);
|
||||
unless (defined $value) {
|
||||
return $default;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue