Skip to content
Permalink
Browse files
Properly quote the delimiter in the processing aggregate algorithm
  • Loading branch information
suricactus authored and nyalldawson committed Nov 7, 2021
1 parent a8618a9 commit 45bb813b706f40bdf532cd9e7ae7656834c619da
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 45bb813

Please sign in to comment.