projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6636a4e
)
avoid error when there is no payment history, #19698
author
Mark Wells
<mark@freeside.biz>
Wed, 10 Apr 2013 00:31:54 +0000
(17:31 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 10 Apr 2013 00:32:06 +0000
(17:32 -0700)
httemplate/view/cust_main/payment_history.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/payment_history.html
b/httemplate/view/cust_main/payment_history.html
index
235b513
..
915be49
100644
(file)
--- a/
httemplate/view/cust_main/payment_history.html
+++ b/
httemplate/view/cust_main/payment_history.html
@@
-536,7
+536,7
@@
foreach my $item (@history) {
}
$i++;
}
-if ( $history[-1]->{'hide'} ) {
+if (
@history and
$history[-1]->{'hide'} ) {
# then everything is hidden
$history[-1]->{'balance_forward'} = 1;
}