Quote:
Originally Posted by Danny.VBT
You need to pass a valid vBulletin registry object to the datamanager; in your script, $vbulletin doesn't have the proper scope in your method.
Pass $vbulletin through the constructor:
PHP Code:
function codeigniter bridge(&$registry) {
$this->registry =& $registry;
}
// *** .....
$vb =& new codeigniter_bridge($vbulletin);
|
Wouldn't you consider it bad practice to pass the variables via referencing considering it's deprecated in 5.3?