Skip to content

Commit 6373474

Browse files
authored
Merge pull request dokuwiki#4352 from eduardomozart/patch-7
Fix PHP error while saving Aichat settings
2 parents 9b9621b + 0698489 commit 6373474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugins/config/core/Loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ protected function loadExtensionMeta($file, $type, $extname)
213213
$data = [];
214214
$data[$prefix . $type . '_settings_name'] = ['fieldset'];
215215
foreach ($meta as $key => $value) {
216-
if ($value[0] == 'fieldset') continue; //plugins only get one fieldset
216+
if (isset($value[0]) && $value[0] == 'fieldset') continue; //plugins only get one fieldset
217217
$data[$prefix . $key] = $value;
218218
}
219219

0 commit comments

Comments
 (0)