From: Alan Knowles Date: Fri, 16 Mar 2012 06:44:38 +0000 (+0800) Subject: Lock.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=de8d61f7cbfe79aab5da2555ab4eaedcfa6e961c Lock.php --- 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); }