X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_main.cgi;h=da6c89d44704cd4192000ebeaa5eac6a60513f73;hb=8572f2347f879d414a60e8e0dc111fa927d66c14;hp=7c3ad3384d1d6b6c85098a1b7bb91daf84603b7a;hpb=fa2326a36a5ce74e8c9dab504c3274688a297c04;p=freeside.git diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi index 7c3ad3384..da6c89d44 100755 --- a/httemplate/search/cust_main.cgi +++ b/httemplate/search/cust_main.cgi @@ -4,6 +4,7 @@ % } else { <% $cgi->redirect(popurl(2). "view/cust_main.cgi?". $cust_main[0]->custnum) %> % } +% $m->abort; %} elsif ( scalar(@cust_main) == 0 ) { % errorpage(emt("No matching customers found!")); % } # errorpage quits, so we don't need an 'else' below @@ -54,7 +55,7 @@ % my $refcustlabel = "$referral_custnum: " . % ( $cust_main->company || $cust_main->last. ', '. $cust_main->first ); referrals of - "><% $refcustlabel %> + "><% $refcustlabel |h %>