Lock.php
[Pman.Core] / Lock.php
index e623139..dfd4287 100644 (file)
--- a/Lock.php
+++ b/Lock.php
@@ -83,7 +83,8 @@ class Pman_Core_Lock extends Pman
             'created' => date('Y-m-d H:i:s'),
             'person_id' => $this->authUser->id,
         ));
-        
+        $id = $curlock->insert();
+        $this->jok($id);
         
     }