Skip to content
Permalink
Browse files
Properly quote the delimiter in the processing aggregate algorithm
  • Loading branch information
suricactus authored and github-actions committed Oct 30, 2021
1 parent ff6a6c9 commit 92189eaa3f8a743552d29e42a8356e9366515912
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/analysis/processing/qgsalgorithmaggregate.cpp
@@ -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
{

0 comments on commit 92189ea

Please sign in to comment.