From 5fc27d11b1f5cf689cf83e35c8fc6bfffd4ffe8e Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 17 Jun 2010 20:31:13 +0000 Subject: [PATCH] fix bug from "View customers of all agents" addition --- httemplate/view/cust_main/misc.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 8bcab0df5..d383e4aa4 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -116,6 +116,8 @@ my( $cust_main ) = @_; my $conf = new FS::Conf; my $date_format = ($conf->config('date_format') || "%m/%d/%Y"); -my @agentnums = $FS::CurrentUser::CurrentUser->agentnums; +my $curuser = $FS::CurrentUser::CurrentUser; + +my @agentnums = $curuser->agentnums; -- 2.11.0