From eaf9e9775e1ef506fdebfdd31a96e49d6fd72eaa Mon Sep 17 00:00:00 2001 From: int2001 Date: Tue, 18 Jul 2023 14:32:17 +0000 Subject: [PATCH] BugFix: Initializes $error before using it --- application/controllers/Eqsl.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index b18cf0b8..e0458ca9 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -630,6 +630,7 @@ class eqsl extends CI_Controller { // Check logged in $this->load->model('user_model'); if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } + $errors=0; if ($this->input->post('eqsldownload') == 'download') { $i = 0;