This commit is contained in:
Jake Barnby 2025-10-10 17:42:42 +13:00
parent f95e8a965a
commit 2830ab55f0
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -82,7 +82,7 @@ class Document extends Any
{
$document->removeAttribute('$collection');
$document->removeAttribute('$tenant');
if (!$document->isEmpty()) {
$document->setAttribute('$sequence', (int)$document->getAttribute('$sequence', 0));
}