From bf05dd5068034040c4a77b7a02d44f79723215a3 Mon Sep 17 00:00:00 2001 From: Tom Lake <tswsl1989@sucs.org> Date: Thu, 4 Oct 2012 16:27:47 +0000 Subject: [PATCH] Fix typo ...that prevented sensible error message being displayed if you try and signup a new member who has already completed the signup process --- components/susignup-admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/susignup-admin.php b/components/susignup-admin.php index bd342e5..beb63c0 100644 --- a/components/susignup-admin.php +++ b/components/susignup-admin.php @@ -130,7 +130,7 @@ if (isset($session->groups[$permission])) { $smarty->assign("error_text", "The user appears to have generated a signup ID using the SU Signup system (Slip ID: ".$id."), but the password for that slip can't be retrieved.<br />Request assistance."); } else if ($qres->fields['username'] !== NULL) { $mode="error"; - $smarth->assign("error_text", "This user appears to have completed signup, with username <strong>".$qres->fields['username']."</strong><br />Check that this user exists, and offer to reset their password if necessary."); + $smarty->assign("error_text", "This user appears to have completed signup, with username <strong>".$qres->fields['username']."</strong><br />Check that this user exists, and offer to reset their password if necessary."); } $pass = $qres->fields['password']; $smarty->assign('slipid', $id); @@ -290,10 +290,10 @@ if (isset($session->groups[$permission])) { $smarty->assign("matches", $matches); } } +$smarty->assign('renewables', get_renewable_members()); } -$smarty->assign('renewables', get_renewable_members()); $smarty->assign('title', 'SU Signup Admin'); $smarty->assign('mode', $mode); $body = $smarty->fetch("susignup-admin.tpl"); -- GitLab