From 0d75e4a22712b9693e74cde7cdf6a49564c2d9ad Mon Sep 17 00:00:00 2001 From: John Carter Date: Mon, 8 Jun 2020 15:25:10 +0100 Subject: [PATCH] Fixes blueprint duplication --- src/DuplicateAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DuplicateAction.php b/src/DuplicateAction.php index 82391fd..a5b0628 100644 --- a/src/DuplicateAction.php +++ b/src/DuplicateAction.php @@ -27,7 +27,7 @@ public function run($items, $values) if ($item instanceof AnEntry) { Entry::make() ->collection($item->collection()) - ->blueprint($item->blueprint()) + ->blueprint($item->blueprint()->handle()) ->locale($item->locale()) ->published($item->published()) ->slug($item->slug().'-duplicate')