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 ''; + } } ?> +