summaryrefslogtreecommitdiff
path: root/httemplate/search/phone_avail.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/phone_avail.html')
-rw-r--r--httemplate/search/phone_avail.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/phone_avail.html b/httemplate/search/phone_avail.html
index 9f287625a..0ca09467c 100644
--- a/httemplate/search/phone_avail.html
+++ b/httemplate/search/phone_avail.html
@@ -74,7 +74,8 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Import');
+ unless ( $FS::CurrentUser::CurrentUser->access_right('List inventory')
+ );
my @search = ();