From efe20eecc445ac4531a54608a93438b15ba6eb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Stalheim=20=C3=98fsdahl?= Date: Wed, 29 Jul 2020 14:02:36 +0200 Subject: [PATCH] Adds missing use statement for Locale Fixes an error when translating the description if the propagation method is set to PROPAGATION_METHOD_LANGUAGE --- src/fields/SuperTableField.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fields/SuperTableField.php b/src/fields/SuperTableField.php index 13e39ad..d78d3f3 100644 --- a/src/fields/SuperTableField.php +++ b/src/fields/SuperTableField.php @@ -30,6 +30,7 @@ use craft\helpers\Gql as GqlHelper; use craft\helpers\Json; use craft\helpers\StringHelper; +use craft\i18n\Locale; use craft\queue\jobs\ApplyNewPropagationMethod; use craft\queue\jobs\ResaveElements; use craft\services\Elements;