diff --git a/Makefile b/Makefile index 0de4b393aff119fe506d14469e4a718f6c3fd425..fe47ae130c8a7af5ad65543e4ae21b5e513184a7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BASE=acymailing_subscribe_buyer PLUGINTYPE=vmcustom -VERSION=1.4.1 +VERSION=1.4.2 PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html diff --git a/acymailing_subscribe_buyer.php b/acymailing_subscribe_buyer.php index 181a32b9300d77712ee0308c3e58a8232693e215..cf4a9f70266ed1c3066d9a7e4ab02b3a33853501 100644 --- a/acymailing_subscribe_buyer.php +++ b/acymailing_subscribe_buyer.php @@ -210,7 +210,10 @@ class plgVmCustomAcyMailing_subscribe_Buyer extends vmCustomPlugin { */ // Legacy triggers for VM2: function plgVmOnDisplayProductVariantFE($field,&$row,&$group) { - return plgVmOnDisplayProductFE($field, $row, $group); + // default return if it's not this plugin + if ($field->custom_element != $this->_name) return ''; + $group->display .= $this->displayProduct($field); + return true; } function plgVmOnDisplayProductFE( $product, &$idx,&$field){ // default return if it's not this plugin diff --git a/acymailing_subscribe_buyer.script.php b/acymailing_subscribe_buyer.script.php index 7b2c7fb68f36b21d72d9f23131a385f768fff15f..cbda4fcf6887d90e888f9e6ab7d35a4a701cd869 100644 --- a/acymailing_subscribe_buyer.script.php +++ b/acymailing_subscribe_buyer.script.php @@ -46,7 +46,7 @@ class plgVmCustomAcyMailing_subscribe_BuyerInstallerScript 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 = "acymailing_subscribe_buyer" and folder = "vmcustom"'); $db->query(); diff --git a/acymailing_subscribe_buyer.xml b/acymailing_subscribe_buyer.xml index 5afeae6885ee66308b6c6a0b57444e4022a5d89a..2a87167023c45b701a8d4e6ece33f6730ef0aa86 100644 --- a/acymailing_subscribe_buyer.xml +++ b/acymailing_subscribe_buyer.xml @@ -6,7 +6,7 @@ <authorUrl>http://www.open-tools.net/</authorUrl> <copyright>Copyright (C) 2013-2014 Reinhold Kainhofer. All rights reserved.</copyright> <license>http://www.gnu.org/licenses/gpl.html GNU/GPL v3+</license> - <version>1.4.1</version> + <version>1.4.2</version> <description>VMCUSTOM_ACYBUYER_DESC</description> <files> <filename plugin="acymailing_subscribe_buyer">acymailing_subscribe_buyer.php</filename> diff --git a/releases/plg_vmcustom_acymailing_subscribe_buyer_v1.4.2.zip b/releases/plg_vmcustom_acymailing_subscribe_buyer_v1.4.2.zip new file mode 100644 index 0000000000000000000000000000000000000000..4102366ecd146f4dcf7ef11b9f15ed155a8b21dc Binary files /dev/null and b/releases/plg_vmcustom_acymailing_subscribe_buyer_v1.4.2.zip differ