summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-04-16 23:14:30 +0000
committerivan <ivan>2002-04-16 23:14:30 +0000
commitd33826efa91645efc00dc8a20e8d0bda8f87ecbd (patch)
tree823dc9baf5ea720a0be552016a491be4fd2dcf89
parentdcea1a8d60c672a36f82dfb9da3c86223f6fd740 (diff)
there it is! fix bug with FS::cust_main::agent
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
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<FS::agent>) for this customer.
sub agent {
my $self = shift;
- qsearchs( 'agent', { 'agent' => $self->agentnum } );
+ qsearchs( 'agent', { 'agentnum' => $self->agentnum } );
}
=item bill OPTIONS