Lock.php
[Pman.Core] / Lock.php
index ef8d242..210d608 100644 (file)
--- a/Lock.php
+++ b/Lock.php
@@ -165,7 +165,7 @@ class Pman_Core_Lock extends Pman
             'person_id' => $this->authUser->id,
         ));
         $id = $curlock->insert();
-        $this->jok($ret ? $ret : $id);
+        $this->jok( $id);
         
     }