summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/packages/package.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/cust_main/packages/package.html')
-rw-r--r--httemplate/view/cust_main/packages/package.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages/package.html b/httemplate/view/cust_main/packages/package.html
index 120944601..ac559bf8e 100644
--- a/httemplate/view/cust_main/packages/package.html
+++ b/httemplate/view/cust_main/packages/package.html
@@ -56,7 +56,7 @@
%
% if ( $curuser->access_right('Discount customer package')
% && $part_pkg->can_discount
-% && ! scalar($cust_pkg->cust_pkg_discount_active)
+% && ! scalar( @{ $cust_pkg->{_cust_pkg_discount_active} } )
% && ! scalar($cust_pkg->part_pkg->part_pkg_discount)
% )
% {