Fixes wrong amount of cols when SAT was never worked

This commit is contained in:
int2001
2025-03-14 11:33:41 +00:00
parent d099ac7882
commit 1ec7872f16
2 changed files with 19 additions and 12 deletions

View File

@@ -287,10 +287,12 @@
$addsat='<td style="text-align: center">' . $dxcc . '</td>';
}
}
if (count($bands) > 1) {
echo '<td class="spacingcell"></td>';
}
if ($addsat != '' && count($dxcc_summary['worked']) > 1) {
if (count($bands) > 1) {
echo '<td class="spacingcell"></td>';
}
echo $addsat;
}
@@ -310,10 +312,11 @@
$addsat='<td style="text-align: center">' . $dxcc . '</td>';
}
}
if (count($bands) > 1) {
echo '<td class="spacingcell"></td>';
}
if ($addsat != '' && count($dxcc_summary['confirmed']) > 1) {
if (count($bands) > 1) {
echo '<td class="spacingcell"></td>';
}
echo $addsat;
}

View File

@@ -255,10 +255,12 @@
$addsat='<td style="text-align: center">' . $iota . '</td>';
}
}
if (count($bands) > 1) {
echo '<td class="spacingcell"></td>';
}
if ($addsat != '' && count($iota_summary['worked']) > 1) {
if (count($bands) > 1) {
echo '<td class="spacingcell"></td>';
}
echo $addsat;
}
@@ -279,10 +281,12 @@
$addsat='<td style="text-align: center">' . $iota . '</td>';
}
}
if (count($bands) > 1) {
echo '<td class="spacingcell"></td>';
}
if ($addsat != '' && count($iota_summary['confirmed']) > 1) {
if (count($bands) > 1) {
echo '<td class="spacingcell"></td>';
}
echo $addsat;
}