ZF-12525: Incorrect parameter in Zend\Db\Adapter\Driver\Mysqli\Statement::prepare

Issue Type: Bug Created: 2013-02-20T09:08:16.000+0000 Last Updated: 2013-02-20T09:56:50.000+0000 Status: Closed Fix version(s): Reporter: Norberth Danson (ndanson) Assignee: None Tags: Related issues: Attachments:


Following bug applies to ZF2 (2.2) - could not find a place where to file this so here it goes.

In the prepare method of Zend\Db\Adapter\Driver\Mysqli\Statement the following line of code:

$this->resource = $this->mysqli->prepare($this->sql);

should actually be:

$this->resource = $this->mysqli->prepare($sql);


Posted by Frank Br├╝ckner (frosch) on 2013-02-20T09:56:35.000+0000

Please report all bugs in ZF2 on Github. Thanks!

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.