remove redundant year from loadbands functions

This commit is contained in:
DB4SCW
2024-08-23 15:15:52 +02:00
parent 1def781d07
commit ebaf6cdbbe
3 changed files with 4 additions and 4 deletions

View File

@@ -337,7 +337,7 @@ class Contesting_model extends CI_Model {
return $data->result();
}
function get_contest_bands($station_id, $year, $contestid, $from, $to) {
function get_contest_bands($station_id, $contestid, $from, $to) {
//get distinct bands for the selected timeframe
$binding=[];
@@ -347,6 +347,7 @@ class Contesting_model extends CI_Model {
and date(".$this->config->item('table_name').".COL_TIME_ON) <= ?
and station_id = ? and COL_CONTEST_ID = ?";
//add data to bindings
$binding[] = $from;
$binding[] = $to;
$binding[] = $station_id;