diff --git a/Model/Config.php b/Model/Config.php index b3af677..81d5b1b 100644 --- a/Model/Config.php +++ b/Model/Config.php @@ -252,7 +252,7 @@ public function getFlexMethods($scopeId = null) $scopeId ); - return !is_array($methods) ? (array) json_decode($methods, true) : $methods; + return is_string($methods) ? (array) json_decode($methods, true) : $methods; } /**