mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added error if no callbook is entered in config
This commit is contained in:
@@ -46,6 +46,9 @@ class Callbook {
|
||||
}
|
||||
return $this->hamqth($this->ci->config->item('hamqth_username'), $this->ci->config->item('hamqth_password'), $callsign, $reduced);
|
||||
break;
|
||||
default:
|
||||
$callbook['error'] = 'No callbook defined. Please review configuration.';
|
||||
return $callbook;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user