From c9ab2fcff27d77e15fe1e60abd793efc6ab68647 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Thu, 31 Mar 2022 22:21:39 +0100 Subject: [PATCH] [Gridsquare Activators] Only show results if band has been posted --- application/views/activators/index.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/application/views/activators/index.php b/application/views/activators/index.php index 68a13b4f..b56259bd 100644 --- a/application/views/activators/index.php +++ b/application/views/activators/index.php @@ -70,17 +70,20 @@ $vucc_grids[$line->call] = $line->vucc_grids; } } - if ($activators_array) { + if( $this->input->post('band') != NULL) { + if ($activators_array) { - $result = write_activators($activators_array, $vucc_grids, $custom_date_format, $this->input->post('band'), $this->input->post('leogeo')); - } - else { - echo ''; + $result = write_activators($activators_array, $vucc_grids, $custom_date_format, $this->input->post('band'), $this->input->post('leogeo')); + } + else { + echo ''; + } } ?> +