mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 01:59:14 +00:00
[Widgets] /QSO/{public_slug} Error Message
Fixes #1875 providing a more useful error message
This commit is contained in:
parent
3ab8204009
commit
6f597ff7a2
@ -15,7 +15,11 @@ class Widgets extends CI_Controller {
|
||||
|
||||
|
||||
// Can be used to embed last 11 QSOs in a iframe or javascript include.
|
||||
public function qsos($logbook_slug) {
|
||||
public function qsos($logbook_slug = null) {
|
||||
|
||||
if($logbook_slug == null) {
|
||||
show_error('Unknown Public Page, please make sure the public slug is correct.');
|
||||
}
|
||||
$this->load->model('logbook_model');
|
||||
|
||||
$this->load->model('logbooks_model');
|
||||
|
Loading…
Reference in New Issue
Block a user