Commit 2f598280 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix display of suspension time (bug #632134)

Signed-off-by: default avatarRichard Mansfield <>
parent c08a28c0
......@@ -1280,7 +1280,7 @@ function login_submit(Pieform $form, $values) {
// Check if the user's account has been suspended
if ($USER->suspendedcusr) {
$suspendedctime = $USER->suspendedctime;
$suspendedctime = strftime(get_string('strftimedaydate'), $USER->suspendedctime);
$suspendedreason = $USER->suspendedreason;
die_info(get_string('accountsuspended', 'mahara', $suspendedctime, $suspendedreason));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment