Post by straightlight » Sat May 14, 2016 9:17 pm

The current mPDO prepare method from system/library/db/mpdo.php file is limited while the $this->connection->prepare could obtain two parameters.

Find:

Code: Select all

public function prepare($sql) {
		$this->statement = $this->connection->prepare($sql);
	}
replace with:

Code: Select all

public function prepare($sql, $case = array()) {
		$this->statement = $this->connection->prepare($sql, $case);
	}

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 24 guests