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

Please sign in to comment.