diff --git a/Makefile b/Makefile index 2d706589d2c278e542a96e271c23aef6b03da205..6d10cf5b100b1630df072bc7cf7edd6f91a2d71c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BASE=vmAutoParentCategories PLUGINTYPE=system -VERSION=1.3.1 +VERSION=1.3.2 PLUGINFILES=$(BASE).php $(BASE).xml index.html diff --git a/releases/plg_system_vmAutoParentCategories_v1.3.2.zip b/releases/plg_system_vmAutoParentCategories_v1.3.2.zip new file mode 100644 index 0000000000000000000000000000000000000000..d283586e79c7e605f1472240692bbbcd3c8d4728 Binary files /dev/null and b/releases/plg_system_vmAutoParentCategories_v1.3.2.zip differ diff --git a/vmAutoParentCategories.php b/vmAutoParentCategories.php index b15774683bc272d9c584e72c1f9c348149b51da2..cae669834eb89a921328b01b774e2dd67b8bae84 100644 --- a/vmAutoParentCategories.php +++ b/vmAutoParentCategories.php @@ -137,7 +137,7 @@ class plgSystemVMAutoParentCategories extends JPlugin { $q = 'SELECT `virtuemart_category_id` FROM `#__virtuemart_product_categories` WHERE `virtuemart_product_id` = ' . (int)$virtuemart_product_id; $db = JFactory::getDBO (); $db->setQuery ($q); - $categories = $db->loadResultArray (); + $categories = $db->loadColumn (); } return $categories; } diff --git a/vmAutoParentCategories.xml b/vmAutoParentCategories.xml index e4b88f340acff78d7e8e9fe3d2c25891ef4c2b29..2fe95c1eedc01594580c5d7d533c30883b545caf 100644 --- a/vmAutoParentCategories.xml +++ b/vmAutoParentCategories.xml @@ -7,7 +7,7 @@ <license>http://www.gnu.org/licenses/gpl.html GNU/GPL v3+</license> <authorEmail>office@open-tools.net</authorEmail> <authorUrl>http://www.open-tools.net/</authorUrl> - <version>1.3.1</version> + <version>1.3.2</version> <description>VMAUTOCATEGORIES_DESCRIPTION</description> <files>