Lock.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 09:31:02 +0000 (17:31 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 18 Nov 2010 09:31:02 +0000 (17:31 +0800)
Lock.php

index 937fc6c..a45fdd7 100644 (file)
--- a/Lock.php
+++ b/Lock.php
@@ -114,7 +114,7 @@ class Pman_Core_Lock extends Pman
                 $ret[$p->id] = $p->toRooArray();
                 $ret[$p->id]->lock_created = $ar[$p->id];
             }
-            $this->jok($ret);
+            $this->jok(array_values($ret));
             
         }
         if ($nlocks) {