Skip to content

Commit

Permalink
Fixing the var() deprecation crutch.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwalters committed May 23, 2011
1 parent 7687203 commit 6a6fff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebGUI/Session.pm
Expand Up @@ -887,7 +887,7 @@ Returns a reference to the WebGUI::Session::Var object.
=cut

sub var {
return $_->[0];
return $_[0];
}

1;

0 comments on commit 6a6fff6

Please sign in to comment.