diff options
author | ivan <ivan> | 2010-08-04 01:23:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-08-04 01:23:05 +0000 |
commit | b80e90fc31364d7cad415d4c236c8429ec7c1e00 (patch) | |
tree | 279de1176341e13d5f764b87a6a1ea5007ef596d | |
parent | 6dcc4e277f46157a3df6c5d0b7ebde0fb848bb0b (diff) |
better serialization on debugging data, RT#7514
-rw-r--r-- | FS/FS/part_export/communigate_pro.pm | 12 |
1 files changed, 1 insertions, 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; |