diff options
author | Mark Wells <mark@freeside.biz> | 2016-11-02 15:35:26 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-11-02 15:35:26 -0700 |
commit | ff8440c2e6db69857e88437dcd0f13219abd71e1 (patch) | |
tree | dab55011ab0c011f58321fe5fc2eb90f86864946 | |
parent | 65c93b7cc48b7d02f30df58f637908663895b461 (diff) | |
parent | ed211cfd4fbdf0099e14288602966056c554ef9a (diff) |
Merge branch 'FREESIDE_4_BRANCH' of git.freeside.biz:/home/git/freeside into 4.x
-rw-r--r-- | httemplate/edit/process/quick-cust_pkg.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/process/quick-cust_pkg.cgi b/httemplate/edit/process/quick-cust_pkg.cgi index 6a346e0be..3f1984f60 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 }); |