summaryrefslogtreecommitdiff
path: root/httemplate/view/svc_acct.cgi
diff options
context:
space:
mode:
authorivan <ivan>2008-11-07 06:04:58 +0000
committerivan <ivan>2008-11-07 06:04:58 +0000
commitfb548ac8da2cc0b87b7b3dcd7172097d930c6f4a (patch)
tree54517ed881b7e3bc7e7fcc9886862a3f82dff080 /httemplate/view/svc_acct.cgi
parentc97e945f3f5bad0b54c27dc65ce622d20f65728e (diff)
fix viewing of unlinked services. wow, it has been a while
Diffstat (limited to 'httemplate/view/svc_acct.cgi')
-rwxr-xr-xhttemplate/view/svc_acct.cgi4
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;