Since latest changes to the module (5.x and 4.7.x), if trying to view a KML feed that doesn't contain any nodes, an error is thrown (though feed is still downloaded with the basic feed information).

warning: Invalid argument supplied for foreach() in /var/www/drupal-47/modules/kml/kml.module on line 451.

Comments

geodaniel’s picture

This should be fixed in my next commit to the module

geodaniel’s picture

Status: Active » Fixed

committed on 4.7 and 5.x

Anonymous’s picture

Status: Fixed » Closed (fixed)