Option::set() always fail with mysqli #2011
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
core/Option.php
public function set($name, $value, $autoload = 0)
{
$autoload = (int)$autoload;
libs/Zend/Db/Statement/Mysqli.php
public function _execute(array $params = null)
......
......
if ($params) {
array_unshift($params, str_repeat('s', count($params)));
The problem is $autoload is always int and the types passed to bind_param() is "ssss".
The text was updated successfully, but these errors were encountered: