From 7179c49865ecc1d1e4adef4f3f95ed1c5afe1018 Mon Sep 17 00:00:00 2001 From: solocla Date: Fri, 18 Sep 2026 10:11:31 +0200 Subject: [PATCH] fixed cancel error --- public/apiwp/cancel.php | 10 +++++----- public/apiwp/confirm.php | 8 +++++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/public/apiwp/cancel.php b/public/apiwp/cancel.php index 0a0646f..af56c02 100644 --- a/public/apiwp/cancel.php +++ b/public/apiwp/cancel.php @@ -1,6 +1,4 @@ diff --git a/public/apiwp/confirm.php b/public/apiwp/confirm.php index bf0d467..7bbb995 100644 --- a/public/apiwp/confirm.php +++ b/public/apiwp/confirm.php @@ -59,9 +59,11 @@ if (!$booking) { } } -function e($v): string -{ - return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8'); +if (!function_exists('e')) { + function e($v): string + { + return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8'); + } } ?>