]> wagnertech.de Git - timetracker.git/blobdiff - locking.php
Fixed ttTimesheetHelper::getApprovers function.
[timetracker.git] / locking.php
index 4359f2197550e73d0690d933bca16be3249016eb..9b23c876ae5c94f9d7f6d36f64ba78ba3a7c4a2d 100644 (file)
@@ -39,7 +39,7 @@ if (!$user->isPluginEnabled('lk')) {
   exit();
 }
 
-$cl_lock_spec = $request->isPost() ? $request->getParameter('lock_spec') : $user->lock_spec;
+$cl_lock_spec = $request->isPost() ? $request->getParameter('lock_spec') : $user->getLockSpec();
 
 $form = new Form('lockingForm');
 $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'lock_spec','style'=>'width: 250px;','value'=>$cl_lock_spec));