fix bug in previous commit for RT11761, RT12737
authorlevinse <levinse>
Thu, 5 May 2011 19:34:01 +0000 (19:34 +0000)
committerlevinse <levinse>
Thu, 5 May 2011 19:34:01 +0000 (19:34 +0000)
FS/FS/ClientAPI/MyAccount.pm

index 54e5e72..379f87e 100644 (file)
@@ -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';