[freeside-commits] branch FREESIDE_3_BRANCH updated. 1e7c040c58601fb8d2a25647c13b3fb06fb00b19

Ivan ivan at 420.am
Mon Jun 3 11:44:09 PDT 2013


The branch, FREESIDE_3_BRANCH has been updated
       via  1e7c040c58601fb8d2a25647c13b3fb06fb00b19 (commit)
      from  9c659edbaa1789b28b3da47779bbf17508bea9c5 (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 1e7c040c58601fb8d2a25647c13b3fb06fb00b19
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 3 11:44:08 2013 -0700

    fix quotations vs. per-package contacts, RT#23165

diff --git a/httemplate/elements/tr-select-contact.html b/httemplate/elements/tr-select-contact.html
index d6bc67f..e37d26d 100644
--- a/httemplate/elements/tr-select-contact.html
+++ b/httemplate/elements/tr-select-contact.html
@@ -138,7 +138,7 @@ if ( $cgi->param('error') ) {
   if ( length($opt{'curr_value'}) ) {
     $contactnum = $opt{'curr_value'};
   } elsif ($prospect_main) {
-    my @cust_contact = $prospect_main->cust_contact;
+    my @cust_contact = $prospect_main->contact;
     $contactnum = $cust_contact[0]->contactnum if scalar(@cust_contact)==1;
   } else { #$cust_main
     $cgi->param('contactnum') =~ /^(\-?\d*)$/ or die "illegal contactnum";

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/tr-select-contact.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list