배팅창에서 본선 장수들이 정해져있지 않을때 스탯을 출력하려는 워닝 수정 #215

Merged
Hide_D merged 1 commits from betting_fix into devel 2022-04-15 11:19:40 +09:00
+5 -2
View File
@@ -265,7 +265,6 @@ if ($str3) {
for ($i = 0; $i < 8; $i++) {
echo "<td colspan=2>{$gen[$i]}</td>";
}
echo "
</tr>
<tr align=center>";
@@ -293,7 +292,11 @@ if ($str3) {
$line[$i] = "<font color=white>";
}
$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] . "┻" . "</font>";