From 87a7e6bec3c2570d55fe7aaf41a95f3ae57cb045 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 12 Nov 2011 00:10:08 +0000 Subject: [PATCH] DSL status pulling, RT#13656 --- FS/FS/ClientAPI/MyAccount.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.11.0