diff options
author | ivan <ivan> | 2009-12-02 20:51:43 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-12-02 20:51:43 +0000 |
commit | 08b845d637fc6a54a88b019ed586bccdf0334b38 (patch) | |
tree | c8eba3b3a7e8351dce459ba53e504c00e8da6c4a /httemplate/view/svc_external.cgi | |
parent | 6f5ff90236e8eb939766c64bf49407da4da5bdfb (diff) |
fix viewing unlinked forwards, domains, broadband/external/www services, RT#6794
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; |