diff options
author | ivan <ivan> | 2010-06-17 20:31:13 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-06-17 20:31:13 +0000 |
commit | 5fc27d11b1f5cf689cf83e35c8fc6bfffd4ffe8e (patch) | |
tree | 19f0353c60de4d5d0de1b65312dba72e3d435bb3 | |
parent | db5ec932751add5d462c9fc9be90152c1b7565d0 (diff) |
fix bug from "View customers of all agents" addition
-rw-r--r-- | httemplate/view/cust_main/misc.html | 4 |
1 files changed, 3 insertions, 1 deletions
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; </%init> |