diff --git a/src/featureinfo.js b/src/featureinfo.js
index 1de25adf5..1a689fc27 100644
--- a/src/featureinfo.js
+++ b/src/featureinfo.js
@@ -315,10 +315,12 @@ module.exports = function(opt_options) {
title = '' + attribute['title'] + '';
}
if (attribute['url']) {
+ if(feature.get(attribute['url'])) {
var url = createUrl(attribute['urlPrefix'], attribute['urlSuffix'], feature.get(attribute['url']));
val = '' +
feature.get(attribute['name']) +
'';
+ }
}
}
}