Skip to content

Commit 9447477

Browse files
committed
Compatible PHP8.x
1 parent 4be4eee commit 9447477

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
@@ -40,7 +40,7 @@ public function getConfigModule($cfg='', $value=null)
4040
{
4141
$values = $this->configModule;
4242
if( !$cfg ) return $values;
43-
$config = explode('/', $cfg);
43+
$config = explode('/', (string) $cfg);
4444
$end = count($config) - 1;
4545
foreach ($config as $key => $vl) {
4646
if( isset($values[$vl]) ){

0 commit comments

Comments
 (0)