diff options
author | Mark Wells <mark@freeside.biz> | 2016-11-02 15:35:38 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-11-02 15:35:38 -0700 |
commit | ec8ee23d8ac9dfbf1be574e022f11b6b89085037 (patch) | |
tree | d364d18f2ad8ab9e686b952ca3fac67c27e7d748 | |
parent | a482fe6c6e43e20b934d42173078bd5a6438fd1b (diff) | |
parent | 2ad3c23b11ac3977445b39f9019795a137bc9626 (diff) |
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into 3.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 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 }); |