From d33826efa91645efc00dc8a20e8d0bda8f87ecbd Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 16 Apr 2002 23:14:30 +0000 Subject: [PATCH] there it is! fix bug with FS::cust_main::agent --- FS/FS/cust_main.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index fd1ccd772..66e032b0e 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -827,7 +827,7 @@ Returns the agent (see L) for this customer. sub agent { my $self = shift; - qsearchs( 'agent', { 'agent' => $self->agentnum } ); + qsearchs( 'agent', { 'agentnum' => $self->agentnum } ); } =item bill OPTIONS -- 2.11.0