projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cab6799
)
Prevents emails to be sent to '' when the group has no email.
author
Stéphane Jacob
<sj@m4x.org>
Fri, 10 Jul 2009 21:46:00 +0000
(23:46 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Fri, 10 Jul 2009 21:46:00 +0000
(23:46 +0200)
modules/xnetgrp.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/xnetgrp.php
b/modules/xnetgrp.php
index
b194ceb
..
e6ebd1e
100644
(file)
--- a/
modules/xnetgrp.php
+++ b/
modules/xnetgrp.php
@@
-653,7
+653,8
@@
class XnetGrpModule extends PLModule
. "à l'adresse : support@polytechnique.org\n";
if (!$to) {
- $to = $globals->asso("mail").", support@polytechnique.org";
+ $to = ($globals->asso('mail') != '') ? $globals->asso('mail') . ', ' : '';
+ $to .= 'support@polytechnique.org';
$append = "\n-- \nLe groupe ".$globals->asso("nom")
." n'a pas d'administrateur, l'équipe de"
." Polytechnique.org a été prévenue et va rapidement"