summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-11-07 06:04:59 +0000
committerivan <ivan>2008-11-07 06:04:59 +0000
commit0c4ce8528be73261b53717eae507c7ef0bf5c729 (patch)
tree3e0d666d8d7e628225448412b2e7e9a11c93c3c7
parent0d81c3e0cc3564c4f51ed91f15211699585aa424 (diff)
fix viewing of unlinked services. wow, it has been a while
-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;