[freeside-commits] branch FREESIDE_4_BRANCH updated. ed211cfd4fbdf0099e14288602966056c554ef9a
Ivan
ivan at 420.am
Wed Nov 2 14:53:46 PDT 2016
The branch, FREESIDE_4_BRANCH has been updated
via ed211cfd4fbdf0099e14288602966056c554ef9a (commit)
from 569c8e243c450b46cc4d28d513a4e83d6128d03c (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 ed211cfd4fbdf0099e14288602966056c554ef9a
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Nov 2 14:53:45 2016 -0700
fix adding a new location on a quotation, RT#73236
diff --git a/httemplate/edit/process/quick-cust_pkg.cgi b/httemplate/edit/process/quick-cust_pkg.cgi
index 6a346e0..3f1984f 100644
--- a/httemplate/edit/process/quick-cust_pkg.cgi
+++ b/httemplate/edit/process/quick-cust_pkg.cgi
@@ -191,8 +191,8 @@ if ( $quotationnum ) {
if ( $locationnum == -1 ) {
my $cust_location = FS::cust_location->new({
- 'custnum' => $custnum,
- 'prospectnum' => $prospectnum,
+ 'custnum' => $cust_main ? $cust_main->custnum : '',
+ 'prospectnum' => $prospect_main ? $prospect_main->prospectnum : '',
map { $_ => scalar($cgi->param($_)) }
FS::cust_main->location_fields
});
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/process/quick-cust_pkg.cgi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list