summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_main.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-04-04 10:08:37 -0700
committerMark Wells <mark@freeside.biz>2012-04-04 10:08:37 -0700
commit583e90e3de4d707996084dc82b794f26063b7fea (patch)
treee3c319516458ee6e88891e181ded261b6ac58a07 /httemplate/search/cust_main.cgi
parentc2ee6c5c4f274bbf86729cacd2fe011ea71f725d (diff)
options to limit access to full customer list, #15928
Diffstat (limited to 'httemplate/search/cust_main.cgi')
-rwxr-xr-xhttemplate/search/cust_main.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
index aae8c7e99..859ef04e6 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -334,7 +334,7 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('List customers');
+ unless $curuser->access_right('List all customers');
my $conf = new FS::Conf;
my $maxrecords = $conf->config('maxsearchrecordsperpage');