fixed cancel error
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user