diff options
| author | Mark Wells <mark@freeside.biz> | 2012-04-14 12:02:14 -0700 | 
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-04-14 12:02:14 -0700 | 
| commit | 5f2f706faad794d87d930c64db8eb641fe61990d (patch) | |
| tree | 90f08fdbed3305636a3ccb9475e847f43489ca5a /httemplate/misc/process | |
| parent | 7150fcff4de104614319b5c57104d55e250dc8c3 (diff) | |
fix various quick payment entry problems, #17356
Diffstat (limited to 'httemplate/misc/process')
| -rw-r--r-- | httemplate/misc/process/batch-cust_pay.cgi | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/httemplate/misc/process/batch-cust_pay.cgi b/httemplate/misc/process/batch-cust_pay.cgi index aa371266c..a6b90ea74 100644 --- a/httemplate/misc/process/batch-cust_pay.cgi +++ b/httemplate/misc/process/batch-cust_pay.cgi @@ -19,7 +19,7 @@  %        'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql,  %      });  %    } -%    if ( !$cust_main ) { # not found, try agent_custid +%    if ( length($custnum) and !$cust_main ) { # not found, try agent_custid  %      $cust_main = qsearchs({   %        'table'     => 'cust_main',  %        'hashref'   => { 'agent_custid' => $custnum }, | 
