Skip to content
Permalink
Browse files

Fix uuid() function returns the same uuid

Fixes #18130
  • Loading branch information
nyalldawson committed Feb 19, 2018
1 parent b759fc9 commit 605ea376df3be6ca57e4917cae62e2d66bdbef93
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/expression/qgsexpressionfunction.cpp
@@ -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

0 comments on commit 605ea37

Please sign in to comment.
You can’t perform that action at this time.