Skip to content
Permalink
Browse files
Update src/server/services/wms/qgswmsrenderer.cpp
Co-authored-by: David Marteau <dmarteau@3liz.com>
  • Loading branch information
elpaso and dmarteau committed Oct 30, 2021
1 parent 6f8bed8 commit 96187b20c562442d254d907928eb2c1d9bfc9d46
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wms/qgswmsrenderer.cpp
@@ -377,7 +377,7 @@ namespace QgsWms
}

const int nAtlasFeatures = atlasPk.size() / pkIndexesSize;
if ( nAtlasFeatures * pkIndexesSize != atlasPk.size() ) //Test is atlasPk.size() is a multiple of pkIndexesSize. Bail out if not
if ( nAtlasFeatures * pkIndexesSize != atlasPk.size() ) //Test if atlasPk.size() is a multiple of pkIndexesSize. Bail out if not
{
throw QgsBadRequestException( QgsServiceException::QGIS_InvalidParameterValue,
QStringLiteral( "Wrong number of ATLAS_PK parameters" ) );

0 comments on commit 96187b2

Please sign in to comment.