summaryrefslogtreecommitdiff
path: root/httemplate/search/svc_phone.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/svc_phone.cgi')
-rw-r--r--httemplate/search/svc_phone.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/search/svc_phone.cgi b/httemplate/search/svc_phone.cgi
index 0c1d57887..49340c6c3 100644
--- a/httemplate/search/svc_phone.cgi
+++ b/httemplate/search/svc_phone.cgi
@@ -74,7 +74,9 @@ my $addl_from = ' LEFT JOIN cust_svc USING ( svcnum ) '.
' LEFT JOIN cust_main USING ( custnum ) ';
#here is the agent virtualization
-push @extra_sql, $FS::CurrentUser::CurrentUser->agentnums_sql;
+push @extra_sql, $FS::CurrentUser::CurrentUser->agentnums_sql(
+ 'null_right' => 'View/link unlinked services'
+ );
my $extra_sql = '';
if ( @extra_sql ) {