qgis-server-getfeatureinfo-alias-empty.patch
src/mapserver/qgswmsserver.cpp | ||
---|---|---|
1313 | 1313 |
QMap<int, QString>::const_iterator aliasIt = aliasMap.find( it.key() ); |
1314 | 1314 |
if ( aliasIt != aliasMap.constEnd() ) |
1315 | 1315 |
{ |
1316 |
attributeName = aliasIt.value(); |
|
1316 |
QString aliasName = aliasIt.value(); |
|
1317 |
if (aliasName != "") |
|
1318 |
{ |
|
1319 |
attributeName = aliasName; |
|
1320 |
} |
|
1317 | 1321 |
} |
1318 | 1322 | |
1319 | 1323 |
QDomElement attributeElement = infoDocument.createElement( "Attribute" ); |
1320 |
- |