diff --git a/index.php b/index.php
index fb3273f..3fe5fdc 100644
--- a/index.php
+++ b/index.php
@@ -1,5 +1,7 @@
Name |
- ' . sonderzeichen($row2["first_name"]) . " " . sonderzeichen($row2["last_name"]) . ' |
+ ' . $row2["first_name"] . " " . $row2["last_name"] . ' |
Bestelldatum |
@@ -130,7 +132,7 @@ $data = '
Kontakt |
- ' . (($row2["paypal_token"] != "") ? ($row2["email"] . " / " . $row2["phone"]) : "-") . ' |
+ ' . (($row2["paypal_token"] != "") ? ($row2["email"] . " / " . $row2["phone"]) : "-") . ' |
Vorstellung |
@@ -168,16 +170,4 @@ try {
$mpdf->Output();
} catch (MpdfException $ex) {
echo 'Exception abgefangen: ', $ex->getMessage(), "\n
";
-}
-
-function sonderzeichen($string): string
-{
- $res = $string;
- $res = str_replace("ä", "ae", $res);
- $res = str_replace("ü", "ue", $res);
- $res = str_replace("ö", "oe", $res);
- $res = str_replace("Ä", "Ae", $res);
- $res = str_replace("Ü", "Ue", $res);
- $res = str_replace("Ö", "Oe", $res);
- return str_replace("ß", "ss", $res);
}
\ No newline at end of file
diff --git a/ticket-check.php b/ticket-check.php
index acf49ad..3379d83 100644
--- a/ticket-check.php
+++ b/ticket-check.php
@@ -1,5 +1,8 @@