diff options
Diffstat (limited to 'httemplate/view/svc_external.cgi')
-rw-r--r-- | httemplate/view/svc_external.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/view/svc_external.cgi b/httemplate/view/svc_external.cgi index 222f36a85..77679d81c 100644 --- a/httemplate/view/svc_external.cgi +++ b/httemplate/view/svc_external.cgi @@ -41,7 +41,9 @@ my $svc_external = qsearchs({ ' LEFT JOIN cust_pkg USING ( pkgnum ) '. ' LEFT JOIN cust_main USING ( custnum ) ', 'hashref' => { 'svcnum' => $svcnum }, - 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql, + 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql( + 'null_right' => 'View/link unlinked services' + ), }) or die "svc_external: Unknown svcnum $svcnum"; my $conf = new FS::Conf; |