zingaburga / XThreads-MyBB-Plugin

A powerful MyBB plugin which provides a flexible environment for administrators to perform various modifications.
http://mybbhacks.zingaburga.com/showthread.php?tid=288
25 stars 6 forks source link

Update for MyBB 1.8.4 to conform to DB_Base. #11

Closed euantorano closed 9 years ago

euantorano commented 9 years ago

MyBB 1.8 introduced a new parameter to DB_*::fetch_array(), which was not included in the control_object() alterations made to the global $db object. In MyBB 1.8.4, all DB classes must conform to the contract defined by the interface DB_Base, which led to errors.

zingaburga commented 9 years ago

You still missed a spot, but never mind. Thanks for submitting the fix :)

euantorano commented 9 years ago

Oops, where was it? I just did a find in files, so it's probably that my regex was wrong.

zingaburga commented 9 years ago

I've fixed it below: https://github.com/zingaburga/XThreads-MyBB-Plugin/commit/08322b461eaf4df869f355f8be8f8066b41c3215