From 7b926e4020a415cf486c84419d09b8528d7e7c30 Mon Sep 17 00:00:00 2001 From: Alex Dong Date: Thu, 10 Nov 2022 15:42:20 +0700 Subject: [PATCH] Update Data.php --- Helper/Data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Helper/Data.php b/Helper/Data.php index d25461f..c5f00ee 100755 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -66,7 +66,7 @@ public function getConfigModule($cfg='', $value=null) { $values = $this->configModule; if( !$cfg ) return $values; - $config = explode('/', $cfg); + $config = explode('/', (string) $cfg); $end = count($config) - 1; foreach ($config as $key => $vl) { if( isset($values[$vl]) ){