Commit ca20f1e3 authored by Kim Hemsø Rasmussen's avatar Kim Hemsø Rasmussen

Mysqli: Fixed that we never used provided type.

parent 3a77cd68
......@@ -99,7 +99,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
}
$this->_bindedValues[$column] =& $variable;
$this->_bindedValues[0][$column - 1] = 's';
$this->_bindedValues[0][$column - 1] = $type;
return true;
}
......@@ -120,7 +120,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
$this->_values[$param] = $value;
$this->_bindedValues[$param] =& $this->_values[$param];
$this->_bindedValues[0][$param - 1] = 's';
$this->_bindedValues[0][$param - 1] = $type;
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment