projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee54e83
)
Prevents absents to be in the participants-non-paye ML.
author
Stéphane Jacob
<sj@m4x.org>
Sun, 13 Dec 2009 17:22:54 +0000
(18:22 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Sun, 13 Dec 2009 17:46:02 +0000
(18:46 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/xnetevents/xnetevents.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/xnetevents/xnetevents.inc.php
b/modules/xnetevents/xnetevents.inc.php
index
d2725d4
..
83628f4
100644
(file)
--- a/
modules/xnetevents/xnetevents.inc.php
+++ b/
modules/xnetevents/xnetevents.inc.php
@@
-263,7
+263,9
@@
function subscribe_lists_event($participate, $uid, $evt, $paid, $payment = null)
subscribe($payed_list, $email);
} else {
unsubscribe($payed_list, $email);
- subscribe($unpayed_list, $email);
+ if (!is_null($participate)) {
+ subscribe($unpayed_list, $email);
+ }
}
}
// }}}