diff --git a/Helper/Data.php b/Helper/Data.php index df072f8..7682f54 100644 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -41,7 +41,7 @@ public function getConfigModule(string $cfg = '', $value = null) if (!$cfg) { return $values; } - $config = explode('/', $cfg); + $config = explode('/', (string) $cfg); $end = count($config) - 1; foreach ($config as $key => $vl) { if (isset($values[$vl])) {