si pas de mail renseigné, on envoie au webmestre
This commit is contained in:
parent
e9db92d687
commit
464d14c6cf
1 changed files with 6 additions and 0 deletions
|
@ -125,6 +125,12 @@ function formulaires_gamucontact_traiter_dist($id_auteur = 0, $redirect = '') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!count($destinataires)) {
|
||||||
|
$email_webmaster = lire_config('email_webmaster');
|
||||||
|
if (strlen($email_webmaster)) {
|
||||||
|
$destinataires[] = $email_webmaster;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$test_mail = true;
|
$test_mail = true;
|
||||||
if (count($destinataires)) {
|
if (count($destinataires)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue