From e4d5083671023c33d2d7c6fe95f666d927cdcf6b Mon Sep 17 00:00:00 2001 From: "Kristof, Fooman" Date: Thu, 8 Jan 2015 21:55:30 +1300 Subject: [PATCH] Migration tool - not all input has comments --- .../Magento/Tools/Migration/System/Configuration/Mapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tools/Magento/Tools/Migration/System/Configuration/Mapper.php b/dev/tools/Magento/Tools/Migration/System/Configuration/Mapper.php index 863435e917339..ff05a3c35f0f1 100644 --- a/dev/tools/Magento/Tools/Migration/System/Configuration/Mapper.php +++ b/dev/tools/Magento/Tools/Migration/System/Configuration/Mapper.php @@ -37,7 +37,7 @@ public function __construct( public function transform(array $config) { $output = []; - $output['comment'] = $config['comment']; + $output['comment'] = isset($config['comment']) ? $config['comment'] : ''; $tabsConfig = isset($config['tabs']) ? $config['tabs'] : []; $sectionsConfig = isset($config['sections']) ? $config['sections'] : [];