From: Debian BTS Date: Tue, 27 Jan 2009 01:26:32 +0000 (+0000) Subject: merge changes from dla source X-Git-Tag: release/2.6.0~462 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2e85e976dcd2cc3bdc89715eb8465abad8b85df6;p=debbugs.git merge changes from dla source --- 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 = '';