Skip to content

Commit d664c4a

Browse files
committed
fix: Add isset() when checking
1 parent 9c392d2 commit d664c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Config/BaseConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ protected function registerProperties()
274274

275275
$shortName = (new ReflectionClass($this))->getShortName();
276276

277-
if (static::$moduleConfig->registrarHasData) {
277+
if (isset(static::$moduleConfig->registrarHasData)) {
278278
// Get all public properties for this config
279279
$worker = new class () {
280280
/**

0 commit comments

Comments
 (0)