From b80e90fc31364d7cad415d4c236c8429ec7c1e00 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 4 Aug 2010 01:23:05 +0000 Subject: [PATCH] better serialization on debugging data, RT#7514 --- FS/FS/part_export/communigate_pro.pm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/FS/FS/part_export/communigate_pro.pm b/FS/FS/part_export/communigate_pro.pm index a3847bf2e..3d7d76ce3 100644 --- a/FS/FS/part_export/communigate_pro.pm +++ b/FS/FS/part_export/communigate_pro.pm @@ -730,17 +730,7 @@ sub export_getsettings_svc_domain { foreach my $key ( grep ref($effective_settings->{$_}), keys %$effective_settings ) { - my $value = $effective_settings->{$key}; - if ( ref($value) eq 'ARRAY' ) { - $effective_settings->{$key} = - join(' ', map { ref($_) ? '['.join(', ', @$_).']' : $_ } @$value ); - } elsif ( ref($value) eq 'HASH' ) { - $effective_settings->{$key} = - join(', ', map { "$_:".$value->{$_} } keys %$value ); - } else { - #XXX - warn "serializing ". ref($value). " for table display not yet handled"; - } + $effective_settings->{$key} = _pretty( $effective_settings->{$key} ); } %{$settingsref} = %$effective_settings; -- 2.11.0