diff options
author | ivan <ivan> | 2008-11-07 06:04:58 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-11-07 06:04:58 +0000 |
commit | fb548ac8da2cc0b87b7b3dcd7172097d930c6f4a (patch) | |
tree | 54517ed881b7e3bc7e7fcc9886862a3f82dff080 | |
parent | c97e945f3f5bad0b54c27dc65ce622d20f65728e (diff) |
fix viewing of unlinked services. wow, it has been a while
-rwxr-xr-x | httemplate/view/svc_acct.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index ec22bd0bc..e87a8ee9a 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -354,7 +354,9 @@ my $svc_acct = qsearchs({ 'table' => 'svc_acct', 'addl_from' => $addl_from, '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_acct; |