summaryrefslogtreecommitdiff
path: root/httemplate/search/report_phone_avail.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_phone_avail.html')
-rwxr-xr-xhttemplate/search/report_phone_avail.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/httemplate/search/report_phone_avail.html b/httemplate/search/report_phone_avail.html
index c81206afc..a896a5b12 100755
--- a/httemplate/search/report_phone_avail.html
+++ b/httemplate/search/report_phone_avail.html
@@ -83,8 +83,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('List inventory')
);
my $conf = new FS::Conf;