Only check for existing user if the users table exists

This commit is contained in:
Alex Tselegidis 2024-12-09 17:10:07 +01:00
parent 855c94f26d
commit c8aef548ff

View file

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