diff --git a/ag/char_index.php b/ag/char_index.php index 41d638b..953de85 100644 --- a/ag/char_index.php +++ b/ag/char_index.php @@ -68,12 +68,11 @@ foreach ($chars as $row) { echo "$row[name] | Status: "; } if ($row['status'] == 'Frei') { - echo "Frei |"; - echo 'Charakter löschen'; + echo "Frei | "; } else { - echo "$row[status] |"; - echo 'Charakter löschen'; + echo "$row[status] | "; } + echo 'Charakter löschen'; ?>