From: Don Armstrong Date: Tue, 27 Jan 2009 01:24:56 +0000 (-0800) Subject: really fix #484789 X-Git-Tag: release/2.6.0~461^2~49^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=409bc191cdc58d4c4ba06cbe09d8174a8f9bbc44;p=debbugs.git really fix #484789 --- diff --git a/cgi/soap.cgi b/cgi/soap.cgi index 2b68ddd2..31b43bab 100755 --- a/cgi/soap.cgi +++ b/cgi/soap.cgi @@ -24,8 +24,7 @@ my $soap = Debbugs::SOAP::Server # kill off all of the date/time related bits in the serializer. my $typelookup = $soap->serializer()->{_typelookup}; for my $key (keys %{$typelookup}) { - next unless defined $_ and /Month|Day|Year|date|time|duration/i; - delete $typelookup->{$key}; + delete $typelookup->{$key} if defined $key and $key =~ /Month|Day|Year|date|time|duration/i; } our $warnings = '';