Skip to content

Commit

Permalink
Compatible PHP8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
magiccart committed Nov 10, 2022
1 parent 4be4eee commit 9447477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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]) ){
Expand Down

0 comments on commit 9447477

Please sign in to comment.