Browse Source

RBN export: fix CMA

master
Fabian Kurz 3 weeks ago
parent
commit
927808f5ce
  1. 7
      functions.php
  2. 2
      scores-by-call.php

7
functions.php

@ -1439,7 +1439,12 @@ function export_rbn ($c) {
# CMA
foreach ($bands as $b) {
if (array_key_exists($m['nr'], $cma) && !in_array($b, $cma[$m['nr']])) {
if (array_key_exists($m['nr'], $cma)) {
if (!in_array($b, $cma[$m['nr']])) {
$ret[$m['callsign']][$b] = array("CMA");
}
}
else {
$ret[$m['callsign']][$b] = array("CMA");
}
}

2
scores-by-call.php

@ -23,7 +23,7 @@ echo score_table_by_call();
<canvas id="c" width="800" height="600"></canvas>
<p>The graph shows the ACA score of the selected station(s) on each week's Tuesday (i.e. before the CWTs).</p>
<p>The graph shows the ACA score of the selected station(s) on each week's Tuesday (i.e. before the CWTs) of the current year, and the latest/current score.</p>
</div>

Loading…
Cancel
Save