From de8d61f7cbfe79aab5da2555ab4eaedcfa6e961c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Mar 2012 14:44:38 +0800 Subject: [PATCH] Lock.php --- Lock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lock.php b/Lock.php index ef8d242a..210d6084 100644 --- 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); } -- 2.39.2