mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-25 19:42:30 +00:00
Fix more return checks for list_logbook_relationships
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) {
|
||||
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