Skip to content

Commit

Permalink
Compatible PHP 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
magiccart committed Nov 10, 2022
1 parent cab25c2 commit 7b003b9
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 @@ -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])) {
Expand Down

0 comments on commit 7b003b9

Please sign in to comment.