From 0ab0df76f386a0a86a473b3ed1a32551de2b2ad1 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sat, 3 Feb 2024 00:42:51 +0100 Subject: [PATCH] show flashdata if no station has eqsl nick --- application/controllers/Eqsl.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index c325884b..a70b1e5f 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -128,8 +128,7 @@ class eqsl extends CI_Controller { // Check if eQSL Nicknames have been defined $this->load->model('stations'); if($this->stations->are_eqsl_nicks_defined() == 0) { - show_error('eQSL Nicknames in Station Profiles arent defined'); - exit; + $this->session->set_flashdata('error', 'eQSL Nicknames in Station Profiles aren\'t defined!'); } ini_set('memory_limit', '-1');