Skip to content
Permalink
Browse files
Properly quote the delimiter in the processing aggregate algorithm
  • Loading branch information
suricactus authored and m-kuhn committed Dec 27, 2021
1 parent cf08084 commit 3f4d0f3e28792bd8a8161b6ae12073fbf8b6b7e2
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 3f4d0f3

Please sign in to comment.