From 6dfa55d4238bd284d27e87be569226721c0bd27b Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 14 Jan 2006 18:43:45 +0000 Subject: [PATCH] constructor missing bless --- lib/WebGUI/Session/Var.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Session/Var.pm b/lib/WebGUI/Session/Var.pm index f99edaa97..add693cc7 100644 --- a/lib/WebGUI/Session/Var.pm +++ b/lib/WebGUI/Session/Var.pm @@ -132,7 +132,7 @@ A reference to the session. sub new { my $class = shift; my $session = shift; - my $self = {_session=>$session}, $class; + my $self = bless {_session=>$session}, $class; my $sessionId = shift || $session->http->getCookies->{"wgSession"}; if ($sessionId eq "") { $self->start(1);