2
0
forked from Wavyzz/dolibarr

Fix: Normalize option names

This commit is contained in:
Laurent Destailleur
2012-12-31 13:40:13 +01:00
parent f7a53eebfb
commit dbdc4e6ce8
4 changed files with 4 additions and 4 deletions

View File

@@ -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
}