diff --git a/buyer_assign_group.php b/buyer_assign_group.php index 6a753895a2527e521d939e6115bdf10554738552..5b9752cd006ed203f9953287bc62ed04aaeab74c 100644 --- a/buyer_assign_group.php +++ b/buyer_assign_group.php @@ -62,8 +62,8 @@ class plgVmCustomBuyer_Assign_Group extends vmCustomPlugin { * We must reimplement this triggers for joomla 1.7 * vmplugin triggers note by Max Milbers */ - public function plgVmOnStoreInstallPluginTable($psType) { - return $this->onStoreInstallPluginTable($psType); + public function plgVmOnStoreInstallPluginTable($psType, $name) { + return $this->onStoreInstallPluginTable($psType, $name); } // VM2 Compat: diff --git a/buyer_assign_group.script.php b/buyer_assign_group.script.php index 75747bcf1f7c4452fe7cba0a2157cd2226f66f62..b7819969dd7ba34b8b85342cfde1e71caa4b5327 100644 --- a/buyer_assign_group.script.php +++ b/buyer_assign_group.script.php @@ -46,7 +46,7 @@ class plgVmCustomBuyer_Assign_GroupInstallerScript public function install(JAdapterInstance $adapter) { // enabling plugin - $db =& JFactory::getDBO(); + $db = JFactory::getDBO(); $db->setQuery('update #__extensions set enabled = 1 where type = "plugin" and element = "buyer_assign_group" and folder = "vmcustom"'); $db->query();