summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/views_rss_views_fields.theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/views_rss_views_fields.theme.inc b/views/views_rss_views_fields.theme.inc
index 3bfd0a0..61b094b 100644
--- a/views/views_rss_views_fields.theme.inc
+++ b/views/views_rss_views_fields.theme.inc
@@ -37,7 +37,7 @@ function template_preprocess_views_view_views_rss_fields(&$vars) {
$items = $view->style_plugin->map_rows($vars['rows']);
foreach($items as $item) {
// Special handling for GeoRSS.
- if (isset($item['lat']) && isset($item['lon'])) {
+ if (is_numeric($item['lat']) && is_numeric($item['lon'])) {
$item['georss:point'] = $item['lat'] .' '. $item['lon'];
}
if(isset($item['featureName'])) {