Skip to content

Commit 7b003b9

Browse files
committed
Compatible PHP 8.x
1 parent cab25c2 commit 7b003b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function getConfigModule(string $cfg = '', $value = null)
4141
if (!$cfg) {
4242
return $values;
4343
}
44-
$config = explode('/', $cfg);
44+
$config = explode('/', (string) $cfg);
4545
$end = count($config) - 1;
4646
foreach ($config as $key => $vl) {
4747
if (isset($values[$vl])) {

0 commit comments

Comments
 (0)