Skip to content
Snippets Groups Projects
Commit bf05dd50 authored by Thomas Lake's avatar Thomas Lake :wrench:
Browse files

Fix typo

...that prevented sensible error message being displayed if you try and signup a new member who has already completed the signup process
parent ba19783e
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment