From a5dc8113b9d715980333851bd74ae6a9a09f9047 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sun, 20 Jul 2008 15:52:04 +0200 Subject: [PATCH] Fixes email lookup for non-X in -participants and -absents aliases subscription (in XnetEvents). Signed-off-by: Vincent Zanotti --- modules/xnetevents/xnetevents.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xnetevents/xnetevents.inc.php b/modules/xnetevents/xnetevents.inc.php index d179a70..4a69b7a 100644 --- a/modules/xnetevents/xnetevents.inc.php +++ b/modules/xnetevents/xnetevents.inc.php @@ -216,7 +216,7 @@ function subscribe_lists_event($participate, $uid, $evt) $res = XDB::query("SELECT email FROM groupex.membres WHERE uid = {?} AND asso_id = {?}", - S::v('uid'), $globals->asso('id')); + $uid, $globals->asso('id')); $email = $res->fetchOneCell(); } -- 2.1.4