diff --git a/hwe/b_betting.php b/hwe/b_betting.php
index 289a3ac2..dae28212 100644
--- a/hwe/b_betting.php
+++ b/hwe/b_betting.php
@@ -265,7 +265,6 @@ if ($str3) {
for ($i = 0; $i < 8; $i++) {
echo "
{$gen[$i]} | ";
}
-
echo "
";
@@ -293,7 +292,11 @@ if ($str3) {
$line[$i] = "";
}
$gen[$i] = $general['name'];
- $stat[$i] = $general[$tp];
+ if (array_key_exists($tp, $general)) {
+ $stat[$i] = $general[$tp];
+ } else {
+ $stat[$i] = "-";
+ }
}
for ($i = 0; $i < 8; $i++) {
$cent[$i] = $cent[$i] . "┻" . "";