summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-05 19:34:01 +0000
committerlevinse <levinse>2011-05-05 19:34:01 +0000
commit23206a3ac6b8a01d4acd6c9607b0f8c3f9acdfea (patch)
treee16146cccde1ca8dc9f01fbe5c0963747eeb971f /FS
parent919e3521b8f21e3ff52aa845bed88688e0dceb7c (diff)
fix bug in previous commit for RT11761, RT12737
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm2
1 files changed, 2 insertions, 0 deletions
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';