mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Update src/server/services/wms/qgswmsrenderer.cpp
Co-authored-by: David Marteau <dmarteau@3liz.com>
This commit is contained in:
parent
6f8bed820b
commit
96187b20c5
@ -377,7 +377,7 @@ namespace QgsWms
|
|||||||
}
|
}
|
||||||
|
|
||||||
const int nAtlasFeatures = atlasPk.size() / pkIndexesSize;
|
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,
|
throw QgsBadRequestException( QgsServiceException::QGIS_InvalidParameterValue,
|
||||||
QStringLiteral( "Wrong number of ATLAS_PK parameters" ) );
|
QStringLiteral( "Wrong number of ATLAS_PK parameters" ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user