From 86824138c902c03b198f44efc63e70c664d74a12 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 23 Jan 2023 18:13:33 +1100 Subject: [PATCH] Updates for check data --- app/Console/Commands/CheckData.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index c943863d8731..1b3857ff72a9 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -455,6 +455,7 @@ class CheckData extends Command if($contact && $entity->invitations()->withTrashed()->where($contact_id, $contact->id)->count() != 0) { $i = $entity->invitations()->withTrashed()->where($contact_id, $contact->id)->first(); $i->restore(); + $this->logMessage("Found a valid contact and invitation restoring for {$entity_key} - {$entity->id}"); } else { $invitation = new $entity_obj();