From 0ade9dcc2c44fe1ef81a656fb217f06c291d8ea2 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Fri, 10 May 2024 15:52:08 +1000 Subject: [PATCH] Bypass validation on propagate --- src/Database/Traits/Multisite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Traits/Multisite.php b/src/Database/Traits/Multisite.php index 4e20b2fa9..7cc49a349 100644 --- a/src/Database/Traits/Multisite.php +++ b/src/Database/Traits/Multisite.php @@ -399,7 +399,7 @@ public function findOrCreateForSite($siteId = null) // Newly created model if (!$otherModel->exists) { - $otherModel->save(); + $otherModel->save(['force' => true]); } // Restoring a trashed model