Lock.php
[Pman.Core] / 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);