We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f5838b05 authored by Jørgen Bøhnsdalen's avatar Jørgen Bøhnsdalen

Fixed wrong variable name.

parent e1a0758b
......@@ -142,8 +142,9 @@ if(isset($_POST['register'])) {
catch (exception $e) {
reportError('AccountActivation, insert, register.php', $e->getMessage());
$errors .= 'An error occurred.';
$errors .= "\n" . $e->getMessage();
$smarty->assign('errors', $errors);
$details = $e->getMessage();
$smarty->assign('error', $errors);
$smarty->assign('details', $details);
$smarty->display('error.tpl');
die();
}
......
Markdown is supported
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