Prefix length may have different length and be at a different place so i remove this tag. Must be replaced by a generic method to substring a substitution variable.

This commit is contained in:
Laurent Destailleur 2021-05-17 08:36:49 +02:00 committed by GitHub
parent 40106ff767
commit a4f4cca895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,6 @@ if (empty($reshook))
if ($result > 0) {
$substitutionarray['__THIRDPARTY_CUSTOMER_CODE__'] = $thirdpartystatic->code_client;
$substitutionarray['__THIRDPARTY_CUSTOMER_CODE_WITHOUT_PREFIX__'] = substr($thirdpartystatic->code_client, 1);
}
}
$substitutionarray['__EMAIL__'] = $obj->email;