From 409bc191cdc58d4c4ba06cbe09d8174a8f9bbc44 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 26 Jan 2009 17:24:56 -0800 Subject: [PATCH] really fix #484789 --- cgi/soap.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cgi/soap.cgi b/cgi/soap.cgi index 2b68ddd..31b43ba 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 = ''; -- 2.39.2