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_domain.cgi | |
parent | 6f5ff90236e8eb939766c64bf49407da4da5bdfb (diff) |
fix viewing unlinked forwards, domains, broadband/external/www services, RT#6794
Diffstat (limited to 'httemplate/view/svc_domain.cgi')
-rwxr-xr-x | httemplate/view/svc_domain.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index fc099d85c..a9fc775ee 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -150,7 +150,9 @@ my $svc_domain = 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' + ), }); die "Unknown svcnum" unless $svc_domain; |