From: ivan Date: Thu, 17 Jun 2010 20:31:13 +0000 (+0000) Subject: fix bug from "View customers of all agents" addition X-Git-Tag: root_of_svc_elec_features~142 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5fc27d11b1f5cf689cf83e35c8fc6bfffd4ffe8e fix bug from "View customers of all agents" addition --- 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;