summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-01-21 14:06:03 -0800
committerMark Wells <mark@freeside.biz>2014-01-21 14:06:03 -0800
commit339f0d29184395a0342c4f3a3febba79cd76fb11 (patch)
tree01dc39d595e473b54aca9f1fc3c4b5f820b29e4e
parentb42dfa0e53c24702c08a71de83cca3e06486a011 (diff)
fix adding new one-time charges, from #26282
-rw-r--r--httemplate/edit/quick-charge.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 7b88bcce9..e141e7d22 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>