summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2023-06-20 16:06:04 +0100
committerGreg Roach <greg@subaqua.co.uk>2023-06-20 16:06:04 +0100
commit665d37b17f677ba0664fb25a284ec06dba9185ef (patch)
tree37b756c90858441c756253ce631f14d3eb18f5ec
parentbdbbf7dad35a3d29f224a6081cf48d1de8d9228a (diff)
downloadwebtrees-665d37b17f677ba0664fb25a284ec06dba9185ef.tar.gz
webtrees-665d37b17f677ba0664fb25a284ec06dba9185ef.tar.bz2
webtrees-665d37b17f677ba0664fb25a284ec06dba9185ef.zip
Do not rely on database default for pending changes
-rw-r--r--app/GedcomRecord.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/GedcomRecord.php b/app/GedcomRecord.php
index a4ff85d2b8..8cba614993 100644
--- a/app/GedcomRecord.php
+++ b/app/GedcomRecord.php
@@ -886,6 +886,7 @@ class GedcomRecord
'xref' => $this->xref,
'old_gedcom' => $this->gedcom(),
'new_gedcom' => $gedcom,
+ 'status' => 'pending',
'user_id' => Auth::id(),
]);
@@ -920,6 +921,7 @@ class GedcomRecord
'xref' => $this->xref,
'old_gedcom' => $this->gedcom(),
'new_gedcom' => '',
+ 'status' => 'pending',
'user_id' => Auth::id(),
]);
}