Lock.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 16 Mar 2012 06:44:38 +0000 (14:44 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 16 Mar 2012 06:44:38 +0000 (14:44 +0800)
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);
         
     }