Fix: Bad regex
This commit is contained in:
parent
eb07c6b2e7
commit
7f3a06127a
4 changed files with 4 additions and 4 deletions
|
|
@ -64,7 +64,7 @@ dol_syslog("POST=".$tracepost, LOG_DEBUG, 0, '_paybox');
|
|||
|
||||
|
||||
// Send an email
|
||||
if (! empty($conf->global->MEMBER_PAYONLINE_SENDEMAIL) && preg_match('/MEM=',$fulltag))
|
||||
if (! empty($conf->global->MEMBER_PAYONLINE_SENDEMAIL) && preg_match('/MEM=/',$fulltag))
|
||||
{
|
||||
$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL;
|
||||
$from=$conf->global->MAILING_EMAIL_FROM;
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ dol_syslog("Call newpaymentok with token=".$token." paymentType=".$paymentType."
|
|||
*/
|
||||
|
||||
// Send an email
|
||||
if (! empty($conf->global->MEMBER_PAYONLINE_SENDEMAIL) && preg_match('/MEM=',$fulltag))
|
||||
if (! empty($conf->global->MEMBER_PAYONLINE_SENDEMAIL) && preg_match('/MEM=/',$fulltag))
|
||||
{
|
||||
$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL;
|
||||
$from=$conf->global->MAILING_EMAIL_FROM;
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ dol_syslog("POST=".$tracepost, LOG_DEBUG, 0, '_paypal');
|
|||
|
||||
|
||||
// Send an email
|
||||
if (! empty($conf->global->MEMBER_PAYONLINE_SENDEMAIL) && preg_match('/MEM=',$fulltag))
|
||||
if (! empty($conf->global->MEMBER_PAYONLINE_SENDEMAIL) && preg_match('/MEM=/',$fulltag))
|
||||
{
|
||||
$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL;
|
||||
$from=$conf->global->MAILING_EMAIL_FROM;
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ if ($PAYPALTOKEN)
|
|||
|
||||
|
||||
// Send an email
|
||||
if (! empty($conf->global->MEMBER_PAYONLINE_SENDEMAIL) && preg_match('/MEM=',$fulltag))
|
||||
if (! empty($conf->global->MEMBER_PAYONLINE_SENDEMAIL) && preg_match('/MEM=/',$fulltag))
|
||||
{
|
||||
$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL;
|
||||
$from=$conf->global->MAILING_EMAIL_FROM;
|
||||
|
|
|
|||
Loading…
Reference in a new issue