diff --git a/Makefile b/Makefile index c65a84f31985bfc9984b119a81826729441a95c4..c78d3054cd19f6132026e36f482f2fd619333e03 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BASE=downloads_for_sale PLUGINTYPE=vmcustom -VERSION=1.5 +VERSION=1.5.1 PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html diff --git a/downloads_for_sale.php b/downloads_for_sale.php index 2f64dc453ae6aed72c1acc7a7df3877f061a4d6e..2e58b3bb6cd8c4dc113f5fd2f4effdef68376ee5 100644 --- a/downloads_for_sale.php +++ b/downloads_for_sale.php @@ -485,6 +485,7 @@ class plgVmCustomDownloads_for_Sale extends vmCustomPlugin { */ function plgVmDisplayInOrderFE($item, $row, &$html) { if (empty($item->productCustom->custom_element) or $item->productCustom->custom_element != $this->_name) return ''; + $item->productCustom = $this->loadCustomfieldData ($item->productCustom->virtuemart_customfield_id); $this->parseCustomParams($item->productCustom); $type = $item->productCustom->invoice_link_type; diff --git a/downloads_for_sale.xml b/downloads_for_sale.xml index 2cc16f6d215dd169cab6f77024bda1da85109397..fb80e07751fe7cec3ef04a05425cf030126fa1a5 100644 --- a/downloads_for_sale.xml +++ b/downloads_for_sale.xml @@ -6,7 +6,7 @@ <authorUrl>http://www.open-tools.net/</authorUrl> <copyright>Copyright (C) 2013 Reinhold Kainhofer. All rights reserved.</copyright> <license>http://www.gnu.org/licenses/gpl.html GNU/GPL v3+</license> - <version>1.5</version> + <version>1.5.1</version> <description>VMCUSTOM_DLSALE_DESC</description> <files> <filename plugin="downloads_for_sale">downloads_for_sale.php</filename> diff --git a/releases/plg_vmcustom_downloads_for_sale_v1.5.1.zip b/releases/plg_vmcustom_downloads_for_sale_v1.5.1.zip new file mode 100644 index 0000000000000000000000000000000000000000..79f6fab1d36475c7c568508c49fc4b86a8362a4a Binary files /dev/null and b/releases/plg_vmcustom_downloads_for_sale_v1.5.1.zip differ