[freeside-commits] branch FREESIDE_2_3_BRANCH updated. f54f8bd48aa67734f3d3688449fa90d5bc042d2c

Mark Wells mark at 420.am
Thu Jun 7 19:26:13 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  f54f8bd48aa67734f3d3688449fa90d5bc042d2c (commit)
      from  63dcb8667f24d728393efc878b7de1ec21458e98 (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 f54f8bd48aa67734f3d3688449fa90d5bc042d2c
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Jun 7 19:23:14 2012 -0700

    fix quick payment entry when search returns exactly one row, #17972

diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html
index a517ece..bcbdde0 100644
--- a/httemplate/elements/customer-table.html
+++ b/httemplate/elements/customer-table.html
@@ -245,7 +245,7 @@ Example:
 
       if ( customerArrayArray.length == 1 ) {
 
-        update_customer(customerArrayArray[1]);
+        update_customer(searchrow, customerArrayArray[0]);
 % if ( $opt{custnum_update_callback} ) {
         <% $opt{custnum_update_callback} %>(searchrow, '<% $opt{prefix} %>')
 % }

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

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




More information about the freeside-commits mailing list