diff --git a/src/application/helpers/installation_helper.php b/src/application/helpers/installation_helper.php index 66528032..78e8af83 100644 --- a/src/application/helpers/installation_helper.php +++ b/src/application/helpers/installation_helper.php @@ -13,6 +13,6 @@ * @return bool Returns whether E!A is installed or not. */ function is_ea_installed() { - return $this->db->table_exists('ea_users'); - + $ci =& get_instance(); + return $ci->db->table_exists('ea_users'); }