diff --git a/system/libs/Settings.php b/system/libs/Settings.php index a72b41e7..aaddf72f 100644 --- a/system/libs/Settings.php +++ b/system/libs/Settings.php @@ -438,6 +438,9 @@ class Settings implements ArrayAccess // return specified plugin settings (all) if(!isset($key)) { + if (!isset($this->settingsFile[$pluginKeyName]['settings'])) { + throw new RuntimeException('Unknown plugin settings: ' . $pluginKeyName); + } return $this->settingsFile[$pluginKeyName]['settings']; } diff --git a/system/templates/account.create.html.twig b/system/templates/account.create.html.twig index 3274178c..a43d6e7d 100644 --- a/system/templates/account.create.html.twig +++ b/system/templates/account.create.html.twig @@ -140,7 +140,7 @@ Character Name: