diff options
author | ivan <ivan> | 2012-01-15 05:31:59 +0000 |
---|---|---|
committer | ivan <ivan> | 2012-01-15 05:31:59 +0000 |
commit | 36d4c11cb8adf66c982c6f4c75b95fa4e6addd0b (patch) | |
tree | ef4c3fafa586dd1575c0b75f52b34029fa002b04 /FS/FS/svc_Common.pm | |
parent | a704467836221b68814deadbb1cb99a2af815c93 (diff) |
display spam status on account view, RT#15987
Diffstat (limited to 'FS/FS/svc_Common.pm')
-rw-r--r-- | FS/FS/svc_Common.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm index 9137c3f69..499afe0fd 100644 --- a/FS/FS/svc_Common.pm +++ b/FS/FS/svc_Common.pm @@ -996,9 +996,8 @@ sub export_getsettings { my %defaults = (); my $error = $self->export('getsettings', \%settings, \%defaults); if ( $error ) { - #XXX bubble this up better warn "error running export_getsetings: $error"; - return ( {}, {} ); + return ( { 'error' => $error }, {} ); } ( \%settings, \%defaults ); } @@ -1016,9 +1015,8 @@ sub export_getstatus { my %hash = (); my $error = $self->export('getstatus', \$html, \%hash); if ( $error ) { - #XXX bubble this up better warn "error running export_getstatus: $error"; - return ( '', {} ); + return ( '', { 'error' => $error } ); } ( $html, \%hash ); } |