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

Commit 1f28445c authored by Jørgen Bøhnsdalen's avatar Jørgen Bøhnsdalen

Fixing more error.tpl-breakage

parent 44702f32
......@@ -61,10 +61,12 @@ if(isset($_GET['auth'])) {
$res = $adodb->Execute($sql_delete);
}
catch (exception $e) {
$errors = 'Error: ' . $e->getMessage();
$smarty->assign('errors', $errors);
$smarty->display('error.tpl');
die();
$errors = 'An error occurred.';
$details = $e->getMessage();
$smarty->assign('error', $errors);
$smarty->assign('details', $details);
$smarty->display('error.tpl');
die();
}
$smarty->assign('activated', true);
}
......
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