From e0910dfed117a3c4d834f6387de3ed9b2cb96e2c Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 23 Jul 2024 14:17:56 +0200 Subject: [PATCH] error handling if someone forgets to add his call --- application/controllers/Widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Widgets.php b/application/controllers/Widgets.php index 47b5637ea..81e51df35 100644 --- a/application/controllers/Widgets.php +++ b/application/controllers/Widgets.php @@ -46,7 +46,7 @@ class Widgets extends CI_Controller { } } - public function oqrs($user_callsign) { + public function oqrs($user_callsign = 'CALL MISSING') { $this->load->model('oqrs_model'); $stations = $this->oqrs_model->get_oqrs_stations();