diff --git a/app/core/ErrorHandler.php b/app/core/ErrorHandler.php
index 3e75063..7a5c6d7 100644
--- a/app/core/ErrorHandler.php
+++ b/app/core/ErrorHandler.php
@@ -32,6 +32,7 @@ class ErrorHandler
}
ob_end_clean(); // Remove current output to be replaced by error page
http_response_code(500);
+ header_remove();
echo '';
echo '
Error!!1 (âīšâ)
';
diff --git a/public/teamtable/edit/delete.php b/public/teamtable/edit/delete.php
index 16644a7..77c1e39 100644
--- a/public/teamtable/edit/delete.php
+++ b/public/teamtable/edit/delete.php
@@ -21,7 +21,7 @@ if (!is_numeric($id))
$currentTeam = $model->getTeamByID($id);
if (!$currentTeam)
{
- $app->session->flash("Kunne ikke slette lag: LagID \"$id\" finnes ikke", "danger");
+ $app->session->flash("Kunne ikke slette lag: LagID $id finnes ikke", "danger");
$app->redirect('index.php');
}