From 38cf7c3bc22606879917fc41d20ef7f1c37afd0c Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Fri, 12 May 2023 11:59:28 +0200 Subject: [PATCH] ticket system bugfix address with subdomain --- www/pages/ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pages/ticket.php b/www/pages/ticket.php index 82d95a6d..0a2d45c3 100644 --- a/www/pages/ticket.php +++ b/www/pages/ticket.php @@ -821,7 +821,7 @@ class Ticket { // Attachments $files = $this->app->erp->GetDateiSubjektObjektDateiname('Anhang','Ticket',$drafted_messages[0]['id'],""); - $pattern = '/[a-z0-9_\-\+\.]+@[a-z0-9\-]+\.([a-z]{2,63})(?:\.[a-z]{2})?/i'; + $pattern = '/[a-z0-9_\-\+\.]+@[a-z0-9\-]+\.([a-z]{2,63})(?:\.[a-z]{2,63})?/i'; preg_match_all($pattern, $drafted_messages[0]['mail'], $matches); $to = $matches[0];