mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-24 19:21:14 +00:00
Check a little more specific
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user