From 59e701cb38b8efd17034b4e0c9c470fb2a8115f9 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Tue, 22 Oct 2013 15:20:14 +0300 Subject: [PATCH] Fix removeCursor injection by timeout --- ajax/otpoll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax/otpoll.php b/ajax/otpoll.php index ddd5abbd..5d8e4121 100644 --- a/ajax/otpoll.php +++ b/ajax/otpoll.php @@ -145,7 +145,7 @@ try{ $inactiveMembers = $member->updateByTimeout($esId); foreach ($inactiveMembers as $inactive){ - $op->removeCursor($esId, $inactive['member_id']); + $op->removeCursor($esId, $inactive); } } else {