From 23206a3ac6b8a01d4acd6c9607b0f8c3f9acdfea Mon Sep 17 00:00:00 2001 From: levinse Date: Thu, 5 May 2011 19:34:01 +0000 Subject: [PATCH] fix bug in previous commit for RT11761, RT12737 --- FS/FS/ClientAPI/MyAccount.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 54e5e7221..379f87e27 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -1054,6 +1054,8 @@ sub list_pkgs { sub list_svcs { my $p = shift; + my $conf = new FS::Conf; + my($context, $session, $custnum) = _custoragent_session_custnum($p); return { 'error' => $session } if $context eq 'error'; -- 2.20.1