mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix total for map
This commit is contained in:
@@ -204,12 +204,12 @@ class CQ extends CI_Model{
|
||||
}
|
||||
} else {
|
||||
for ($i = 1; $i <= 40; $i++) {
|
||||
if ($cqZ[$i]['count'] == 0) {
|
||||
$mapZones[$i-1] = '-'; // Not worked
|
||||
} elseif (isset($totalConfirmedZones[$i])) {
|
||||
if (isset($totalConfirmedZones[$i])) {
|
||||
$mapZones[$i-1] = 'C'; // Confirmed
|
||||
} else {
|
||||
} else if (isset($totalWorkedZones[$i])) {
|
||||
$mapZones[$i-1] = 'W'; // Worked but not confirmed
|
||||
} else {
|
||||
$mapZones[$i-1] = '-'; // Not worked
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user