From dd69df36bd1f6d4e3ef367b66f9005a3515a5872 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 24 Sep 2008 17:43:50 -0700 Subject: [PATCH] * handle undefined keys in the typelookup deletion of soap.cgi --- cgi/soap.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/soap.cgi b/cgi/soap.cgi index 1ca87b9..f6b0d04 100755 --- a/cgi/soap.cgi +++ b/cgi/soap.cgi @@ -21,7 +21,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 /Month|Day|Year|date|time|duration/i; + next unless defined $_ and /Month|Day|Year|date|time|duration/i; delete $typelookup->{$key}; } $soap->handle; -- 2.39.2