From a2e601ac05a818ad69a8fec0262cbcc587e8fbb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 28 Mar 2011 09:38:31 +0200 Subject: [PATCH] Fixes query in xnet events. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- 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 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) { -- 2.1.4