forked from Wavyzz/dolibarr
Fix: Normalize option names
This commit is contained in:
@@ -3491,7 +3491,7 @@ function make_substitutions($chaine,$substitutionarray)
|
||||
// Make substitition
|
||||
foreach ($substitutionarray as $key => $value)
|
||||
{
|
||||
if ($key == '__SIGNATURE__' && (! empty($conf->global->MAIL_DO_NOT_USE_SIGN))) $value='';
|
||||
if ($key == '__SIGNATURE__' && (! empty($conf->global->MAIN_MAIL_DO_NOT_USE_SIGN))) $value='';
|
||||
$chaine=str_replace("$key","$value",$chaine); // We must keep the " to work when value is 123.5 for example
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user