PHP-Part of adding bearing to contest

This commit is contained in:
int2001
2024-03-08 08:45:46 +00:00
parent 154b169c6c
commit f22bb9fb85
2 changed files with 3 additions and 2 deletions

View File

@@ -178,6 +178,7 @@ class Contesting extends CI_Controller {
* Function is used for dupe-checking in contestinglogging
*/
public function checkIfWorkedBefore() {
session_write_close();
$call = $this->input->post('call');
$band = $this->input->post('band');
$mode = $this->input->post('mode');
@@ -186,7 +187,6 @@ class Contesting extends CI_Controller {
$this->load->model('Contesting_model');
$result = $this->Contesting_model->checkIfWorkedBefore($call, $band, $mode, $contest);
header('Content-Type: application/json');
if ($result && $result->num_rows()) {
$timeb4=substr($result->row()->b4,0,5);