Skip to content

Commit

Permalink
Fix conditions of index action.
Browse files Browse the repository at this point in the history
  • Loading branch information
snakajima authored and snakajima committed Apr 20, 2015
1 parent e384e68 commit 36ef8f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/BlocksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public function index() {
'order' => array('Bbs.id' => 'desc'),
'conditions' => array(
'Block.id = Bbs.block_id',
'Block.language_id = ' . $this->viewVars['languageId'],
'Block.room_id = ' . $this->viewVars['roomId'],
'Block.language_id' => $this->viewVars['languageId'],
'Block.room_id' => $this->viewVars['roomId'],
),
//'limit' => 1
)
Expand Down

0 comments on commit 36ef8f9

Please sign in to comment.