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_broadband.cgi | |
| parent | 6f5ff90236e8eb939766c64bf49407da4da5bdfb (diff) | |
fix viewing unlinked forwards, domains, broadband/external/www services, RT#6794
Diffstat (limited to 'httemplate/view/svc_broadband.cgi')
| -rw-r--r-- | httemplate/view/svc_broadband.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/view/svc_broadband.cgi b/httemplate/view/svc_broadband.cgi index 1463925b4..f552e9bc7 100644 --- a/httemplate/view/svc_broadband.cgi +++ b/httemplate/view/svc_broadband.cgi @@ -168,7 +168,9 @@ my $svc_broadband = 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_broadband: Unknown svcnum $svcnum"; #false laziness w/all svc_*.cgi |
