Skip to content

Commit

Permalink
Properly quote the delimiter in the processing aggregate algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus authored and m-kuhn committed Dec 27, 2021
1 parent cf08084 commit 3f4d0f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analysis/processing/qgsalgorithmaggregate.cpp
Expand Up @@ -111,11 +111,11 @@ bool QgsAggregateAlgorithm::prepareAlgorithm( const QVariantMap &parameters, Qgs
}
else if ( aggregateType == QLatin1String( "concatenate" ) || aggregateType == QLatin1String( "concatenate_unique" ) )
{
expression = QStringLiteral( "%1(%2, %3, %4, \'%5\')" ).arg( aggregateType,
expression = QStringLiteral( "%1(%2, %3, %4, %5)" ).arg( aggregateType,
source,
mGroupBy,
QStringLiteral( "TRUE" ),
delimiter );
QgsExpression::quotedString( delimiter ) );
}
else
{
Expand Down

0 comments on commit 3f4d0f3

Please sign in to comment.