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
+2 -2
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,10 +82,12 @@ if (!$booking) {
} }
} }
if (!function_exists('e')) {
function e($v): string function e($v): string
{ {
return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8'); return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8');
} }
}
?> ?>
<!doctype html> <!doctype html>
<html lang="it"> <html lang="it">
+2
View File
@@ -59,10 +59,12 @@ if (!$booking) {
} }
} }
if (!function_exists('e')) {
function e($v): string function e($v): string
{ {
return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8'); return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8');
} }
}
?> ?>
<!doctype html> <!doctype html>
<html lang="it"> <html lang="it">