Skip to content

Commit 605ea37

Browse files
committed
Fix uuid() function returns the same uuid
Fixes #18130
1 parent b759fc9 commit 605ea37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/expression/qgsexpressionfunction.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4333,7 +4333,7 @@ const QList<QgsExpressionFunction *> &QgsExpression::Functions()
43334333
sFunctions << currentFeatureFunc;
43344334

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

43394339
sFunctions

0 commit comments

Comments
 (0)