From 1075855e042f9a6bebaa0ba9cd32f7805a974983 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sun, 18 Oct 2015 19:57:22 +0200 Subject: [PATCH] Fixed "$this was not undefined" error. --- src/application/helpers/installation_helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); }