Fix: Bad regex
This commit is contained in:
parent
eb07c6b2e7
commit
7f3a06127a
@ -64,7 +64,7 @@ dol_syslog("POST=".$tracepost, LOG_DEBUG, 0, '_paybox');
|
|||||||
|
|
||||||
|
|
||||||
// Send an email
|
// 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;
|
$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL;
|
||||||
$from=$conf->global->MAILING_EMAIL_FROM;
|
$from=$conf->global->MAILING_EMAIL_FROM;
|
||||||
|
|||||||
@ -94,7 +94,7 @@ dol_syslog("Call newpaymentok with token=".$token." paymentType=".$paymentType."
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Send an email
|
// 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;
|
$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL;
|
||||||
$from=$conf->global->MAILING_EMAIL_FROM;
|
$from=$conf->global->MAILING_EMAIL_FROM;
|
||||||
|
|||||||
@ -72,7 +72,7 @@ dol_syslog("POST=".$tracepost, LOG_DEBUG, 0, '_paypal');
|
|||||||
|
|
||||||
|
|
||||||
// Send an email
|
// 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;
|
$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL;
|
||||||
$from=$conf->global->MAILING_EMAIL_FROM;
|
$from=$conf->global->MAILING_EMAIL_FROM;
|
||||||
|
|||||||
@ -131,7 +131,7 @@ if ($PAYPALTOKEN)
|
|||||||
|
|
||||||
|
|
||||||
// Send an email
|
// 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;
|
$sendto=$conf->global->MEMBER_PAYONLINE_SENDEMAIL;
|
||||||
$from=$conf->global->MAILING_EMAIL_FROM;
|
$from=$conf->global->MAILING_EMAIL_FROM;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user