summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/cust_pkg.cgi')
-rwxr-xr-xhttemplate/view/cust_pkg.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_pkg.cgi b/httemplate/view/cust_pkg.cgi
index c3880114c..5f0e6bffc 100755
--- a/httemplate/view/cust_pkg.cgi
+++ b/httemplate/view/cust_pkg.cgi
@@ -71,7 +71,7 @@ print &ntable("#cccccc"), '<TR><TD>', &ntable("#cccccc",2),
( $setup ? time2str("%D",$setup) : "(Not setup)" ), '</TD></TR>';
print '<TR><TD ALIGN="right">Last bill date</TD><TD BGCOLOR="#ffffff">',
- ( $cust_pkg->last_bill ? time2str("%D",$cust_pkg->last_bill) : "&nbsp;" ),
+ ( $cust_pkg->get('last_bill') ? time2str("%D",$cust_pkg->get('last_bill')) : "&nbsp;" ),
'</TD></TR>'
if $cust_pkg->dbdef_table->column('last_bill');