[freeside-commits] branch FREESIDE_3_BRANCH updated. 2ad3c23b11ac3977445b39f9019795a137bc9626
Ivan
ivan at 420.am
Wed Nov 2 14:53:47 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via 2ad3c23b11ac3977445b39f9019795a137bc9626 (commit)
from 7df69c8d38d07327d11c009a08f8cf3fa1891cd0 (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 2ad3c23b11ac3977445b39f9019795a137bc9626
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Nov 2 14:53:46 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 3938d2a..9f3d9e1 100644
--- a/httemplate/edit/process/quick-cust_pkg.cgi
+++ b/httemplate/edit/process/quick-cust_pkg.cgi
@@ -145,8 +145,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