From b05780529a7ab2c6e6ba98813509db85b50bb571 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 22 Jul 2023 11:17:58 +0200 Subject: [PATCH] fixes --- system/libs/Settings.php | 3 +++ system/templates/account.create.html.twig | 2 +- system/templates/account.create_character.html.twig | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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: - +
diff --git a/system/templates/account.create_character.html.twig b/system/templates/account.create_character.html.twig index afe4e9da..acb57f5c 100644 --- a/system/templates/account.create_character.html.twig +++ b/system/templates/account.create_character.html.twig @@ -45,7 +45,7 @@ In any case the name must not violate the naming conventions stated in the - +