summaryrefslogtreecommitdiff
path: root/httemplate/view/svc_domain.cgi
diff options
context:
space:
mode:
authorivan <ivan>2009-12-02 20:51:43 +0000
committerivan <ivan>2009-12-02 20:51:43 +0000
commit08b845d637fc6a54a88b019ed586bccdf0334b38 (patch)
treec8eba3b3a7e8351dce459ba53e504c00e8da6c4a /httemplate/view/svc_domain.cgi
parent6f5ff90236e8eb939766c64bf49407da4da5bdfb (diff)
fix viewing unlinked forwards, domains, broadband/external/www services, RT#6794
Diffstat (limited to 'httemplate/view/svc_domain.cgi')
-rwxr-xr-xhttemplate/view/svc_domain.cgi4
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;