From 2a9d165bdfb750ab4a381ed1bf043bfc53c4b090 Mon Sep 17 00:00:00 2001 From: Imad Date: Wed, 31 Aug 2022 15:01:58 +0200 Subject: [PATCH] Update ImportProcessor.php --- Model/Processor/ImportProcessor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Model/Processor/ImportProcessor.php b/Model/Processor/ImportProcessor.php index 519dd7a..ad02a64 100644 --- a/Model/Processor/ImportProcessor.php +++ b/Model/Processor/ImportProcessor.php @@ -157,6 +157,7 @@ protected function transformConfigToScopeConfig(string $path, array $config): ar } foreach ($scopeIdValue as $scopeId => $value) { + $value = (string)$value; if (!$this->scopeValidator->validate($scope, $scopeId)) { $errorMsg = sprintf( 'ERROR: Invalid scopeId "%s" for scope "%s" (%s => %s)',