more session related bug fixes
This commit is contained in:
parent
a6dd6c89e0
commit
297b9f8487
6 changed files with 10 additions and 6 deletions
|
|
@ -99,7 +99,7 @@ A reference to the current WebGUI::Session.
|
|||
=cut
|
||||
|
||||
sub new {
|
||||
my $class = shift
|
||||
my $class = shift;
|
||||
my $session = shift;
|
||||
my $settings = $session->db->buildHashRef("select * from settings");
|
||||
bless {_settings=>$settings, _session=>$session}, $class;
|
||||
|
|
@ -157,6 +157,7 @@ The value of the setting.
|
|||
=cut
|
||||
|
||||
sub set {
|
||||
my $self = shift;
|
||||
my $name = shift;
|
||||
my $value = shift;
|
||||
$self->{_settings}{$name} = $value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue