From c8aef548ffbe42d1efbd573080071e92d07e1df6 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 9 Dec 2024 17:10:07 +0100 Subject: [PATCH] Only check for existing user if the users table exists --- application/core/EA_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/EA_Controller.php b/application/core/EA_Controller.php index 101bcc61..c2d03cd8 100644 --- a/application/core/EA_Controller.php +++ b/application/core/EA_Controller.php @@ -96,7 +96,7 @@ class EA_Controller extends CI_Controller { $user_id = session('user_id'); - if (!$user_id) { + if (!$user_id || !$this->db->table_exists('users')) { return; }