diff options
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 53e67404c..3b18947b5 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -1527,7 +1527,8 @@ sub svc_status_html { my($context, $session, $custnum) = _custoragent_session_custnum($p); return { 'error' => $session } if $context eq 'error'; - my $svc_x = _customer_svc_x( $custnum, $p->{'svcnum'}) + #XXX only svc_dsl for now + my $svc_x = _customer_svc_x( $custnum, $p->{'svcnum'}, 'svc_dsl') or return { 'error' => "Service not found" }; my $html = $svc_x->getstatus_html; |