mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-24 11:51:12 +01:00
bugfix ticket system domain with subdomain and dash
This commit is contained in:
parent
d8ecb497da
commit
1aa487e282
@ -952,7 +952,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,63})?/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