Fixing uid generation return.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-03-10 15:28:32 -05:00
parent 67cb81497b
commit 53aeaf9240

View File

@ -474,8 +474,8 @@ Tiddler >> uidGenerator [
self created self created
ifNotNil: [ tempId := self created hash hex. ] ifNotNil: [ tempId := self created hash hex. ]
ifNil: [ tempId := self class nowLocal hash hex ]. ifNil: [ tempId := self class nowLocal hash hex ].
self customFields at: 'uid' put: tempId . ^ self customFields at: 'uid' put: tempId .
^ tempId
] ]
{ #category : #accessing } { #category : #accessing }