From: Stéphane Jacob Date: Mon, 28 Mar 2011 07:38:31 +0000 (+0200) Subject: Fixes query in xnet events. X-Git-Tag: xorg/1.1.1~37^2~40 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a2e601ac05a818ad69a8fec0262cbcc587e8fbb0;p=platal.git Fixes query in xnet events. Signed-off-by: Stéphane Jacob --- diff --git a/modules/xnetevents/xnetevents.inc.php b/modules/xnetevents/xnetevents.inc.php index f329ad1..dc17ac3 100644 --- a/modules/xnetevents/xnetevents.inc.php +++ b/modules/xnetevents/xnetevents.inc.php @@ -287,7 +287,7 @@ function event_change_shortname($page, $eid, $old, $new) foreach (array($globals->xnet->participant_list, $globals->xnet->payed_list, $globals->xnet->unpayed_list) as $suffix) { $uids = XDB::fetchColumn('SELECT uid FROM group_event_participants - WHERE eid = {?} AND ' . $where, + WHERE eid = {?} AND ' . $where[$suffix], $eid); $users = User::getBulkUsersWithUIDs($uids, null, null, false); foreach ($users as $user) {