mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Version v0.0.2
* updated forum links to use friendly_urls * some more info will be shown when cannot connect to database * show more error infos when creating character * fixed forum link on newses * fixed spells loading when there's vocation name instead of id * fixed bug when you have changed template but it doesn't exist anymore * fixed vocations with promotion loading * fixed support for gesior pages and templates * added function OTS_Acount:getGroupId()
This commit is contained in:
@@ -833,8 +833,9 @@ function checkName()
|
||||
|
||||
if(empty($newchar_errors))
|
||||
{
|
||||
if(!check_name_new_char($newchar_name))
|
||||
$newchar_errors[] = 'This name contains invalid letters, words or format. Please use only a-Z, - , \' and space.';
|
||||
$error = '';
|
||||
if(!check_name_new_char($newchar_name, $error))
|
||||
$newchar_errors[] = $error;
|
||||
if($newchar_sex != 1 && $newchar_sex != "0")
|
||||
$newchar_errors[] = 'Sex must be equal <b>0 (female)</b> or <b>1 (male)</b>.';
|
||||
if(!in_array($newchar_town, $config['character_towns']))
|
||||
|
Reference in New Issue
Block a user