projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'platal-0.10.0'
[platal.git]
/
include
/
validations
/
paiements.inc.php
diff --git
a/include/validations/paiements.inc.php
b/include/validations/paiements.inc.php
index
bb3afe4
..
2612f3b
100644
(file)
--- a/
include/validations/paiements.inc.php
+++ b/
include/validations/paiements.inc.php
@@
-201,7
+201,12
@@
Si le télépaiement n'est pas lié à un groupe ou supérieur à 51 euros, lais
$mailer->assign('payment', $id);
$mailer->assign('prenom', $u['prenom']);
$mailer->assign('topay', $topay);
$mailer->assign('payment', $id);
$mailer->assign('prenom', $u['prenom']);
$mailer->assign('topay', $topay);
- $mailer->assign('to', $u['email']);
+
+ if (strpos($u['email'], '@') === false) {
+ $mailer->assign('to', $u['email'] . '@' . $globals->mail->domain);
+ } else {
+ $mailer->assign('to', $u['email']);
+ }
$mailer->send();
}
}
$mailer->send();
}
}