Changeset b243ec7e35d1927db9132cdb0c1f9473054612d2
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ree4c2b7f
|
rb243ec7
|
|
| 1037 | 1037 | |
| 1038 | 1038 | 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']))); |
| 1040 | 1040 | |
| 1041 | 1041 | if ($lock) { |