Skip to content

Commit

Permalink
Fixed argument use in TupleComparison
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 12, 2014
1 parent e109c7c commit cd086e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cake/Database/Expression/TupleComparison.php
Expand Up @@ -35,8 +35,8 @@ class TupleComparison extends Comparison {
* @return void
*/
public function __construct($fields, $values, $types = [], $conjuntion = '=') {
parent::__construct($fields, $value, $type, $conjuntion);
$this->_type = (array)$type;
parent::__construct($fields, $values, $types, $conjuntion);
$this->_type = (array)$types;
}

/**
Expand Down

0 comments on commit cd086e8

Please sign in to comment.