From 665d37b17f677ba0664fb25a284ec06dba9185ef Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Tue, 20 Jun 2023 16:06:04 +0100 Subject: Do not rely on database default for pending changes --- app/GedcomRecord.php | 2 ++ 1 file changed, 2 insertions(+) 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(), ]); } -- cgit v1.3