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 31, 2021
1 parent 95f7829 commit 8ece9ab604dd2c8294bfaa6e82f76e4e4c256ea8
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/analysis/processing/qgsalgorithmaggregate.cpp
@@ -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
{

0 comments on commit 8ece9ab

Please sign in to comment.