Fix: on différencie les accolades
This commit is contained in:
parent
48ccaa4f59
commit
c1e23d76e4
@ -318,10 +318,10 @@ class mod_codeclient_tigre extends ModeleThirdPartyCode
|
|||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
$mask = $conf->global->CODE_TIGRE_MASK_CUSTOMER;
|
$mask = $conf->global->CODE_TIGRE_MASK_CUSTOMER;
|
||||||
if (eregi('{pre}',$mask)) return 1;
|
if (eregi('\{pre\}',$mask)) return 1;
|
||||||
|
|
||||||
$mask = $conf->global->CODE_TIGRE_MASK_SUPPLIER;
|
$mask = $conf->global->CODE_TIGRE_MASK_SUPPLIER;
|
||||||
if (eregi('{pre}',$mask)) return 1;
|
if (eregi('\{pre\}',$mask)) return 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user