Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix uuid() function returns the same uuid
Fixes #18130
  • Loading branch information
nyalldawson committed Feb 19, 2018
1 parent b759fc9 commit 605ea37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -4333,7 +4333,7 @@ const QList<QgsExpressionFunction *> &QgsExpression::Functions()
sFunctions << currentFeatureFunc;

QgsStaticExpressionFunction *uuidFunc = new QgsStaticExpressionFunction( QStringLiteral( "uuid" ), 0, fcnUuid, QStringLiteral( "Record and Attributes" ), QString(), false, QSet<QString>(), false, QStringList() << QStringLiteral( "$uuid" ) );
uuidFunc->setIsStatic( true );
uuidFunc->setIsStatic( false );
sFunctions << uuidFunc;

sFunctions
Expand Down

0 comments on commit 605ea37

Please sign in to comment.