Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test control files for issue GH #30817
  • Loading branch information
elpaso authored and github-actions[bot] committed Dec 9, 2021
1 parent 5ea10ad commit b63395f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -363,7 +363,7 @@ namespace QgsWms
{
const QgsAttributeList pkIndexes = cLayer->primaryKeyAttributes();
const int pkIndexesSize {std::max( pkIndexes.size(), 1 )};
if ( pkIndexesSize )
if ( pkIndexesSize == 0 )
{
QgsDebugMsgLevel( QStringLiteral( "Atlas print: layer %1 has no primary key attributes" ).arg( cLayer->name() ), 2 );
}
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b63395f

Please sign in to comment.