show flashdata if no station has eqsl nick

pull/2960/head
HB9HIL 2024-02-03 00:42:51 +01:00 zatwierdzone przez Christoph Kottke
rodzic c4df1467fc
commit 0ab0df76f3
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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');