From 43e9cede0c9d6da55ece8aebfe98a74eb8e25294 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 13 Feb 2013 17:34:43 +0000 Subject: [PATCH] Forgot to pull the template name for build_password_policy() --- Webperl/Block.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Webperl/Block.pm b/Webperl/Block.pm index 889f96e..8a3fc2c 100644 --- a/Webperl/Block.pm +++ b/Webperl/Block.pm @@ -395,7 +395,8 @@ sub log { # user. If there is no policy in place, or the user is not logged in, # this returns an empty string. sub build_password_policy { - my $self = shift; + my $self = shift; + my $template = shift; # Anonymous user can have no policy return '' if($self -> {"session"} -> anonymous_session());