mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-12 06:41:14 +01:00
ticket system bugfix address with subdomain
This commit is contained in:
parent
209364f8c3
commit
38cf7c3bc2
@ -821,7 +821,7 @@ class Ticket {
|
|||||||
// Attachments
|
// Attachments
|
||||||
$files = $this->app->erp->GetDateiSubjektObjektDateiname('Anhang','Ticket',$drafted_messages[0]['id'],"");
|
$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);
|
preg_match_all($pattern, $drafted_messages[0]['mail'], $matches);
|
||||||
$to = $matches[0];
|
$to = $matches[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user