BugFix: Initializes $error before using it

This commit is contained in:
int2001
2023-07-18 14:32:17 +00:00
parent e271bfeb93
commit eaf9e9775e

View File

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