From 1bed22963875edcb3d12bf937e32c4424e5566ae Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Mar 2012 14:38:54 +0800 Subject: [PATCH] Lock.php --- Lock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lock.php b/Lock.php index 25590df0..32f3dac5 100644 --- a/Lock.php +++ b/Lock.php @@ -157,7 +157,7 @@ class Pman_Core_Lock extends Pman 'person_id' => $this->authUser->id, )); $id = $curlock->insert(); - $this->jok($id); + $this->jok($ret ? $ret : $id); } -- 2.39.2