From 1c211d566928564a9900b80a5595f7d406137612 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 13 Jan 2006 16:12:32 +0000 Subject: [PATCH] self vs session typo in constructor --- lib/WebGUI/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Storage.pm b/lib/WebGUI/Storage.pm index c0315f035..4476f5e77 100644 --- a/lib/WebGUI/Storage.pm +++ b/lib/WebGUI/Storage.pm @@ -349,7 +349,7 @@ A reference to the current session. sub createTemp { my $class = shift; my $session = shift; - my $id = $self->session->id->generate(); + my $id = $session->id->generate(); $id =~ m/^(.{2})/; my $self = {_session=>$session, _id => $id, _part1 => 'temp', _part2 => $1}; bless $self, ref($class)||$class;