Skip to content
Permalink
Browse files

server: keep NULL values on featureinfo

  • Loading branch information
jef-n committed Feb 18, 2015
1 parent 9a75c9e commit 4321c0960b870e88b56da1eb73f1b348edfb4e9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgswmsserver.cpp
@@ -2098,7 +2098,7 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
attributeElement.setAttribute( "value",
replaceValueMapAndRelation(
layer, i,
QgsExpression::replaceExpressionText( featureAttributes[i].toString(), &feature, layer )
featureAttributes[i].isNull() ? QString::null : QgsExpression::replaceExpressionText( featureAttributes[i].toString(), &feature, layer )
)
);
featureElement.appendChild( attributeElement );

0 comments on commit 4321c09

Please sign in to comment.
You can’t perform that action at this time.