diff options
| author | Mark Wells <mark@freeside.biz> | 2012-04-14 15:36:20 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-04-14 15:36:20 -0700 |
| commit | 5371ad9dd6bf63e29ffc85c8381f1ea2630b1749 (patch) | |
| tree | 0109d86cf93a84697fe84fc29927a9f058cf3d93 /httemplate/misc/process/batch-cust_pay.cgi | |
| parent | 5abe1300f16cf01a6311203deee29373162491c7 (diff) | |
| parent | 401ba3ab0637de1bc460370949b75dca092375d8 (diff) | |
merge master
Diffstat (limited to 'httemplate/misc/process/batch-cust_pay.cgi')
| -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 }, |
