From 6ba011b432500e56508ebd607db421f50a673141 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 18 Nov 2010 17:46:40 +0800 Subject: [PATCH] Lock.php --- Lock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lock.php b/Lock.php index 43804c13..dd84705d 100644 --- a/Lock.php +++ b/Lock.php @@ -111,7 +111,7 @@ class Pman_Core_Lock extends Pman DB_DataObjecT::debugLevel(1); $ar = $curlock->fetchAll('person_id', 'created'); $p = DB_DataObject::factory('Person'); - $p->whereAddIn('id', $ar, 'int'); + $p->whereAddIn('id', array_keys($ar), 'int'); $p->find(); $ret = array(); while ($p->fetch()) { -- 2.39.2