From 280cd98f93c3e3a01f58ad372e8544e43656c435 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 1f5d6a709..30d0bd22c 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -129,8 +129,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');