elkarte/Elkarte — pull request #789 by Spuds (2013-08-28 20:45:56+00:00)
Title: Addon Install Error

First I admit I have not traced this one done fully ...

When installing a package (that makes use of db_table(), and uses a var $table as part of its database install code) the $table object in the controller is getting overwritten.

This results in calling an object on a non object fatal error ... honestly not sure if this is from using the $table var in the addon db installer or if its happening inside the package.controller, etc ... Anyway this is a workaround since I needed something quick so I can keep working. In some ways we may want a naming convention for object vars ($obj_elk_blabla ?) to help avoid collisions, don't know.