diff options
| author | Mark Wells <mark@freeside.biz> | 2012-06-07 19:23:14 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-06-07 19:23:14 -0700 |
| commit | f54f8bd48aa67734f3d3688449fa90d5bc042d2c (patch) | |
| tree | a37bbe1ee01f57bd6f715d2e39050a5047409ba4 | |
| parent | 63dcb8667f24d728393efc878b7de1ec21458e98 (diff) | |
fix quick payment entry when search returns exactly one row, #17972
| -rw-r--r-- | httemplate/elements/customer-table.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html index a517ece2a..bcbdde0f6 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} %>') % } |
