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