Skip to content

Commit d82a399

Browse files
elpasomhugent
authored andcommitted
Fix #9314
1 parent b4d082f commit d82a399

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mapserver/qgswmsserver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ bool QgsWMSServer::testFilterStringSafety( const QString& filter ) const
20552055

20562056
void QgsWMSServer::groupStringList( QStringList& list, const QString& groupString )
20572057
{
2058-
//group contens within single quotes together
2058+
//group contents within single quotes together
20592059
bool groupActive = false;
20602060
int startGroup = -1;
20612061
int endGroup = -1;
@@ -2090,7 +2090,7 @@ void QgsWMSServer::groupStringList( QStringList& list, const QString& groupStrin
20902090
list[startGroup] = concatString;
20912091
for ( int j = startGroup + 1; j <= endGroup; ++j )
20922092
{
2093-
list.removeAt( j );
2093+
list.removeAt( startGroup + 1 );
20942094
--i;
20952095
}
20962096
}

0 commit comments

Comments
 (0)