Lock.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 16 Mar 2012 06:35:54 +0000 (14:35 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 16 Mar 2012 06:35:54 +0000 (14:35 +0800)
Lock.php

index 747678b..f49338a 100644 (file)
--- a/Lock.php
+++ b/Lock.php
@@ -137,6 +137,7 @@ class Pman_Core_Lock extends Pman
                 'on_id' => $_REQUEST['on_id'],
                 'on_table' => strtolower($_REQUEST['on_table'])
             ));
+            $curlock->person_id = $this->authUser->id;
             $curlock->find();
             while($curlock->fetch()) {
                 $cc =clone($curlock);