fixed cancel error

This commit is contained in:
2026-09-18 10:11:31 +02:00
parent f396954be4
commit 7179c49865
2 changed files with 10 additions and 8 deletions
+5 -5
View File
@@ -1,6 +1,4 @@
<?php <?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once __DIR__ . '/bootstrap.php'; require_once __DIR__ . '/bootstrap.php';
require_once dirname(__DIR__) . '/include/event_waitlist.php'; require_once dirname(__DIR__) . '/include/event_waitlist.php';
require_once dirname(__DIR__) . '/include/event_mailer.php'; require_once dirname(__DIR__) . '/include/event_mailer.php';
@@ -84,9 +82,11 @@ if (!$booking) {
} }
} }
function e($v): string if (!function_exists('e')) {
{ function e($v): string
return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8'); {
return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8');
}
} }
?> ?>
<!doctype html> <!doctype html>
+5 -3
View File
@@ -59,9 +59,11 @@ if (!$booking) {
} }
} }
function e($v): string if (!function_exists('e')) {
{ function e($v): string
return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8'); {
return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8');
}
} }
?> ?>
<!doctype html> <!doctype html>