[freeside-commits] branch master updated. 0c4eaa02f8fa5f2ab1bc1787efb018b10c532145
Ivan
ivan at 420.am
Wed Nov 2 14:53:44 PDT 2016
The branch, master has been updated
via 0c4eaa02f8fa5f2ab1bc1787efb018b10c532145 (commit)
from f2b43a877c70aa367595fe2fc4fcffd82f62d001 (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 0c4eaa02f8fa5f2ab1bc1787efb018b10c532145
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Nov 2 14:53:43 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