]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/soap.cgi
* Fix link to pseudopackages
[debbugs.git] / cgi / soap.cgi
index b30151ef5cf9f210ac97659031cf298b4ea68101..f6b0d0410c4daeeb5f29dbd4a6a7e3ae9e0615fc 100755 (executable)
@@ -20,9 +20,9 @@ my $soap = Debbugs::SOAP::Server
 # (Nothing in Debbugs should be looked at as if it were date/time) we
 # kill off all of the date/time related bits in the serializer.
 my $typelookup = $soap->serializer()->{_typelookup};
-for my $key (keys %{$type_lookup}) {
-     next unless /Month|Day|Year|date|time|duration/;
-     delete $type_lookup->{$key};
+for my $key (keys %{$typelookup}) {
+     next unless defined $_ and /Month|Day|Year|date|time|duration/i;
+     delete $typelookup->{$key};
 }
 $soap->handle;