Skip to content
Snippets Groups Projects
Commit eab8f10c authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V1.3.2: loadResultArray has been removed, use loadColumn instead

parent 9fd86624
No related branches found
No related tags found
No related merge requests found
BASE=vmAutoParentCategories BASE=vmAutoParentCategories
PLUGINTYPE=system PLUGINTYPE=system
VERSION=1.3.1 VERSION=1.3.2
PLUGINFILES=$(BASE).php $(BASE).xml index.html PLUGINFILES=$(BASE).php $(BASE).xml index.html
......
File added
...@@ -137,7 +137,7 @@ class plgSystemVMAutoParentCategories extends JPlugin { ...@@ -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; $q = 'SELECT `virtuemart_category_id` FROM `#__virtuemart_product_categories` WHERE `virtuemart_product_id` = ' . (int)$virtuemart_product_id;
$db = JFactory::getDBO (); $db = JFactory::getDBO ();
$db->setQuery ($q); $db->setQuery ($q);
$categories = $db->loadResultArray (); $categories = $db->loadColumn ();
} }
return $categories; return $categories;
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<license>http://www.gnu.org/licenses/gpl.html GNU/GPL v3+</license> <license>http://www.gnu.org/licenses/gpl.html GNU/GPL v3+</license>
<authorEmail>office@open-tools.net</authorEmail> <authorEmail>office@open-tools.net</authorEmail>
<authorUrl>http://www.open-tools.net/</authorUrl> <authorUrl>http://www.open-tools.net/</authorUrl>
<version>1.3.1</version> <version>1.3.2</version>
<description>VMAUTOCATEGORIES_DESCRIPTION</description> <description>VMAUTOCATEGORIES_DESCRIPTION</description>
<files> <files>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment