fix: warning
This commit is contained in:
parent
8cd9a772c3
commit
014748da64
1 changed files with 9 additions and 5 deletions
|
@ -24,8 +24,12 @@ function inc_gamumail_remplacements_dist($args, $html) {
|
||||||
and $prenom = sql_getfetsel('prenom', 'spip_auteurs', 'email='.sql_quote($args['destinataires'][0]))) {
|
and $prenom = sql_getfetsel('prenom', 'spip_auteurs', 'email='.sql_quote($args['destinataires'][0]))) {
|
||||||
$nom = $prenom.' '.$nom;
|
$nom = $prenom.' '.$nom;
|
||||||
}
|
}
|
||||||
|
if ($nom) {
|
||||||
$html = gamumail_remplacer_modele('nom', ucwords($nom), $html);
|
$html = gamumail_remplacer_modele('nom', ucwords($nom), $html);
|
||||||
|
}
|
||||||
|
if ($prenom) {
|
||||||
$html = gamumail_remplacer_modele('prenom', ucwords($prenom), $html);
|
$html = gamumail_remplacer_modele('prenom', ucwords($prenom), $html);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @@url_site@@ => URL du site
|
* @@url_site@@ => URL du site
|
||||||
|
|
Loading…
Add table
Reference in a new issue