[freeside-commits] freeside/FS/FS svc_Common.pm,1.66,1.67
Ivan,,,
ivan at wavetail.420.am
Sat Jan 14 21:28:05 PST 2012
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv17149/FS/FS
Modified Files:
svc_Common.pm
Log Message:
display spam status on account view, RT#15987
Index: svc_Common.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_Common.pm,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -w -d -r1.66 -r1.67
--- svc_Common.pm 19 Dec 2011 01:18:06 -0000 1.66
+++ svc_Common.pm 15 Jan 2012 05:28:03 -0000 1.67
@@ -996,9 +996,8 @@
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 @@
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 );
}
More information about the freeside-commits
mailing list