|
|
@ -92,7 +92,7 @@ function wuenscheSpecialChar($user, $specialcharname, $newname = ''){
|
|
|
|
|
|
|
|
|
|
|
|
$chars = getCharsOfUser($user['id']);
|
|
|
|
$chars = getCharsOfUser($user['id']);
|
|
|
|
foreach($chars as $char) {
|
|
|
|
foreach($chars as $char) {
|
|
|
|
if($char['rasse_a']['id'] == $rasse) {
|
|
|
|
if($char['rasse_a']['id'] == $rasse['id']) {
|
|
|
|
displayErrorMessage(NULL,'Der '.$specialcharname.'-Slot ist schon durch '.$char['name'].' belegt!!',displayHistoryBackLink());
|
|
|
|
displayErrorMessage(NULL,'Der '.$specialcharname.'-Slot ist schon durch '.$char['name'].' belegt!!',displayHistoryBackLink());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|