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 nyalldawson committed Nov 1, 2021
1 parent 9063673 commit 5781657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analysis/processing/qgsalgorithmaggregate.cpp
Expand Up @@ -116,11 +116,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 5781657

Please sign in to comment.