summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_cust_main.html')
-rwxr-xr-xhttemplate/search/report_cust_main.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index c7a3ad954..04e04ee82 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -171,9 +171,7 @@
<%init>
die "access denied"
- unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') &&
- $FS::CurrentUser::CurrentUser->access_right('List packages')
- );
+ unless $FS::CurrentUser::CurrentUser->access_right('Advanced customer search');
my $conf = new FS::Conf;