From f9abe9a8e3af1a82cdf803249ea76388fc7e7850 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 8 Jun 2021 12:49:31 +0200 Subject: [PATCH] Fix create character when admin (any case is allowed now) --- system/pages/account/create_character.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/pages/account/create_character.php b/system/pages/account/create_character.php index c25b8ea6..7c148966 100644 --- a/system/pages/account/create_character.php +++ b/system/pages/account/create_character.php @@ -10,7 +10,7 @@ */ defined('MYAAC') or die('Direct access not allowed!'); -$character_name = isset($_POST['name']) ? stripslashes(ucwords(strtolower($_POST['name']))) : null; +$character_name = isset($_POST['name']) ? stripslashes($_POST['name']) : null; $character_sex = isset($_POST['sex']) ? (int)$_POST['sex'] : null; $character_vocation = isset($_POST['vocation']) ? (int)$_POST['vocation'] : null; $character_town = isset($_POST['town']) ? (int)$_POST['town'] : null; @@ -42,4 +42,4 @@ if(!$character_created) { 'save' => $save, 'errors' => $errors )); -} \ No newline at end of file +}