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

This commit was merged in pull request #215.
This commit is contained in:
2022-04-14 19:17:40 -07:00
parent 84ed999708
commit d9d629154c
+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>";