Changeset b243ec7e35d1927db9132cdb0c1f9473054612d2

Show
Ignore:
Timestamp:
01/28/12 20:20:49 (4 months ago)
Author:
Xemle <xemle@phtagr.org>
Children:
1de0187a18dcbe504b456f6a4c6267d1878f062a
Parents:
0ee680ad0e905220841bba9a9b62ebae5a380115
git-committer:
Xemle <xemle@phtagr.org> / 2012-01-28T20:20:49Z+0100
Message:

Fix query for lock

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Controller/Component/WebdavServerComponent.php

    ree4c2b7f rb243ec7  
    10371037 
    10381038    if (isset($options["update"])) { // Lock Update 
    1039       $lock = $this->controller->Lock->find('first' => array('conditions' => array('Lock.file_id' => $fileId, 'Lock.token' => $options['update']))); 
     1039      $lock = $this->controller->Lock->find('first', array('conditions' => array('Lock.file_id' => $fileId, 'Lock.token' => $options['update']))); 
    10401040       
    10411041      if ($lock) {