[freeside-commits] branch FREESIDE_3_BRANCH updated. 339f0d29184395a0342c4f3a3febba79cd76fb11
Mark Wells
mark at 420.am
Tue Jan 21 14:06:48 PST 2014
The branch, FREESIDE_3_BRANCH has been updated
via 339f0d29184395a0342c4f3a3febba79cd76fb11 (commit)
from b42dfa0e53c24702c08a71de83cca3e06486a011 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 339f0d29184395a0342c4f3a3febba79cd76fb11
Author: Mark Wells <mark at freeside.biz>
Date: Tue Jan 21 14:06:03 2014 -0800
fix adding new one-time charges, from #26282
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 7b88bcc..e141e7d 100644
--- a/httemplate/edit/quick-charge.html
+++ b/httemplate/edit/quick-charge.html
@@ -459,6 +459,6 @@ if ( $cust_pkg ) { # set defaults
}
}
-my $billed = $cust_pkg->get('setup') ? 1 : 0;
+my $billed = ($cust_pkg and $cust_pkg->get('setup')) ? 1 : 0;
</%init>
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/quick-charge.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list