diff --git a/ag/info/attacken.php b/ag/info/attacken.php
index c433425..f470803 100644
--- a/ag/info/attacken.php
+++ b/ag/info/attacken.php
@@ -67,11 +67,6 @@ function showAttDetails($at_id) {
Type
|
-
-
- Options |
- |
-
Info |
@@ -84,7 +79,7 @@ function showAttDetails($at_id) {
for($runden = 0; $runden < count($rassen_1); $runden++) {
$rasse = getRaceById($rassen_1[$runden]);
- if($rasse['type'] == $npc_type['id']){
+ if($rasse == null || $rasse['type'] == $npc_type['id']){
continue;
}
$rassen_name = $rasse['name'];