Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #161 from Hilarious001/patch-27
Browse files Browse the repository at this point in the history
Give the possibilities to change nickname
  • Loading branch information
jkroepke committed Apr 6, 2016
2 parents 61e9086 + a5e3a69 commit 93f853c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/pages/game/ShowSettingsPage.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private function sendDefault()

if (!empty($username) && $USER['username'] != $username)
{
if (PlayerUtil::isNameValid($username))
if (!PlayerUtil::isNameValid($username))
{
$this->printMessage($LNG['op_user_name_no_alphanumeric'], array(array(
'label' => $LNG['sys_back'],
Expand Down Expand Up @@ -421,4 +421,4 @@ private function sendDefault()
'url' => 'game.php?page=settings'
)));
}
}
}

0 comments on commit 93f853c

Please sign in to comment.