Fixing uid generation return.
This commit is contained in:
parent
67cb81497b
commit
53aeaf9240
@ -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 }
|
||||||
|
Loading…
Reference in New Issue
Block a user