diff options
author | ivan <ivan> | 2009-12-02 20:51:44 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-12-02 20:51:44 +0000 |
commit | bfb50b19988ff9010eda5d3ce87d99b5db32b9a0 (patch) | |
tree | 5488127b275648698b8d6dffa1c88d09cc3e94fb /httemplate/view/svc_external.cgi | |
parent | 6e7fff43136c356d24255896dff7df3fc4d8ee40 (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; |