Close #743: Warning when editing subscription of a non-X.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 9 Dec 2007 17:46:08 +0000 (18:46 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 9 Dec 2007 17:46:08 +0000 (18:46 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
ChangeLog
modules/xnetevents/xnetevents.inc.php

index 1cbb959..e49b924 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,9 @@ Bug/Wish:
     * Search:
         - #741: Mentor search in advanced search                           -FRU
 
+    * XnetEvent:
+        - #743: Don't show a warning when subscriber has no forlife        -FRU
+
     * XnetGrp:
         - #732: Adapt subscription text to sex                             -FRU
         - #735: Encoding of list description in member edition form        -FRU
index 3cb304e..9c0ad58 100644 (file)
@@ -199,7 +199,7 @@ function subscribe_lists_event($participate, $uid, $evt)
     $participant_list = $evt['participant_list'];
     $absent_list      = $evt['absent_list'];
 
-    $email = get_user_forlife($uid);
+    $email = get_user_forlife($uid, '_silent_user_callback');
 
     if ($email) {
         $email .= '@'.$globals->mail->domain;