|
|
|
@ -60,8 +60,8 @@ function isAPhoneNumber(){
|
|
|
|
|
// $user_ida, $char_1_Type, $char_name
|
|
|
|
|
function handleErstelleCharRequest($user, $type, $name, $bild){
|
|
|
|
|
$race = getRaceById($type);
|
|
|
|
|
$type = getRaceTypeById($race['id']);
|
|
|
|
|
if($race == NULL || $race['special'] || $type['gm_only']) {
|
|
|
|
|
$rtype = getRaceTypeById($race['id']);
|
|
|
|
|
if($race == NULL || $race['special'] || $rtype['gm_only']) {
|
|
|
|
|
displayErrorMessage(NULL,'Rasse kann nicht erstellt werden!',displayHistoryBackLink());
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|