Skip to content

Commit

Permalink
Update src/server/services/wms/qgswmsrenderer.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: David Marteau <dmarteau@3liz.com>
  • Loading branch information
elpaso and dmarteau committed Oct 30, 2021
1 parent 6f8bed8 commit 96187b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -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" ) );
Expand Down

0 comments on commit 96187b2

Please sign in to comment.