mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Strings/Encoding
* replaced some more uses of string functions with multibyte equivalents where it might matter note: i didn't touch the spell-tooltip parser as it seems to work as intended regardless
This commit is contained in:
@@ -454,7 +454,7 @@ class AdminPage extends GenericPage
|
||||
else if (!empty($_GET['user']))
|
||||
{
|
||||
$name = urldecode($_GET['user']);
|
||||
if (strlen($name) > 3)
|
||||
if (mb_strlen($name) >= 3)
|
||||
{
|
||||
if ($uId = DB::Aowow()->selectCell('SELECT id FROM ?_account WHERE displayName = ?', ucFirst($name)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user