From 6a6fff613f577248b126ec92138959318bf3a884 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Sun, 22 May 2011 21:03:45 -0400 Subject: [PATCH] Fixing the var() deprecation crutch. --- lib/WebGUI/Session.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Session.pm b/lib/WebGUI/Session.pm index 853824a71..4bbcb15e8 100644 --- a/lib/WebGUI/Session.pm +++ b/lib/WebGUI/Session.pm @@ -887,7 +887,7 @@ Returns a reference to the WebGUI::Session::Var object. =cut sub var { - return $_->[0]; + return $_[0]; } 1;