Skip to content
Permalink
Browse files

Fixed argument use in TupleComparison

  • Loading branch information...
lorenzo committed Jan 12, 2014
1 parent e109c7c commit cd086e8b1db51d8232a99d1cbb2a5fff6d77987a
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cake/Database/Expression/TupleComparison.php
@@ -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;
}
/**

0 comments on commit cd086e8

Please sign in to comment.
You can’t perform that action at this time.