Check a little more specific

This commit is contained in:
phl0
2026-03-18 09:00:48 +01:00
parent e0df05817c
commit 8c6779e482
35 changed files with 102 additions and 102 deletions

View File

@@ -9,7 +9,7 @@ class Timeplotter_model extends CI_Model
$CI->load->model('logbooks_model');
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
if ($logbooks_locations_array[0] == -1) {
if ($logbooks_locations_array[0] === -1) {
header('Content-Type: application/json');
$data['error'] = 'No QSOs found to plot!';
echo json_encode($data);