Lock.php
[Pman.Core] / 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) {