mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-20 21:52:22 +03:00
Only check for existing user if the users table exists
This commit is contained in:
parent
855c94f26d
commit
c8aef548ff
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class EA_Controller extends CI_Controller
|
||||||
{
|
{
|
||||||
$user_id = session('user_id');
|
$user_id = session('user_id');
|
||||||
|
|
||||||
if (!$user_id) {
|
if (!$user_id || !$this->db->table_exists('users')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue