From 357c1e9cf71ff2fb99abb803789e861203ccc0d5 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 1 Jan 2017 19:31:24 +0000 Subject: [PATCH] Use correct error variable --- blocks/ORB/Login.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/ORB/Login.pm b/blocks/ORB/Login.pm index 3f632d9..ce732ca 100755 --- a/blocks/ORB/Login.pm +++ b/blocks/ORB/Login.pm @@ -417,8 +417,8 @@ sub _validate_signup { # Halt here if there are any problems. return ($self -> {"template"} -> load_template("error/error_list.tem", {"%(message)s" => "{L_LOGIN_ERR_REGFAILED}", - "%(errors)s" => $errors}), $args) - if($errors); + "%(errors)s" => $error}), $args) + if($error); # Is the response valid? return ($self -> {"template"} -> load_template("error/error_list.tem", {"%(message)s" => "{L_LOGIN_ERR_REGFAILED}",