fix visitor sat page grids not showing

This commit is contained in:
Karuru
2024-08-13 22:51:55 +08:00
parent 9f38c65676
commit f3b88bbba0

View File

@@ -224,7 +224,7 @@ class Visitor extends CI_Controller {
// Get Confirmed LoTW & Paper Squares (non VUCC)
$query = $this->gridmap_model->get_band_confirmed('SAT', 'All', 'false', 'true', 'false', 'false', 'All', 'All', $logbooks_locations_array);
$query = $this->gridmap_model->get_band_confirmed('SAT', 'All', 'false', 'true', 'false', 'false', 'All', 'All', 'All', $logbooks_locations_array);
if ($query && $query->num_rows() > 0)
@@ -260,7 +260,7 @@ class Visitor extends CI_Controller {
}
// Get worked squares
$query = $this->gridmap_model->get_band('SAT', 'All', 'false', 'true', 'false', 'false', 'All', 'All', $logbooks_locations_array);
$query = $this->gridmap_model->get_band('SAT', 'All', 'false', 'true', 'false', 'false', 'All', 'All', 'All', $logbooks_locations_array);
if ($query && $query->num_rows() > 0)
{
@@ -294,7 +294,7 @@ class Visitor extends CI_Controller {
}
}
$query_vucc = $this->gridmap_model->get_band_worked_vucc_squares('SAT', 'All', 'false', 'true', 'false', 'false', 'All', 'All', $logbooks_locations_array);
$query_vucc = $this->gridmap_model->get_band_worked_vucc_squares('SAT', 'All', 'false', 'true', 'false', 'false', 'All', 'All', 'All', $logbooks_locations_array);
if ($query && $query_vucc->num_rows() > 0)
{
@@ -321,7 +321,7 @@ class Visitor extends CI_Controller {
}
// Confirmed Squares
$query_vucc = $this->gridmap_model->get_band_confirmed_vucc_squares('SAT', 'All', 'false', 'true', 'false', 'false', 'All', 'All', $logbooks_locations_array);
$query_vucc = $this->gridmap_model->get_band_confirmed_vucc_squares('SAT', 'All', 'false', 'true', 'false', 'false', 'All', 'All', 'All', $logbooks_locations_array);
if ($query && $query_vucc->num_rows() > 0)
{