From f0eaa184d09265e051232c2cf93d880003a196ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=BCller=20Nato?= Date: Fri, 7 Sep 2018 20:57:10 -0300 Subject: [PATCH] Fix error on See user bgcolor not found Fix error on See user bgcolor not found --- application/third_party/ion_auth/models/Ion_auth_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/third_party/ion_auth/models/Ion_auth_model.php b/application/third_party/ion_auth/models/Ion_auth_model.php index f7cb30c..2e1e029 100644 --- a/application/third_party/ion_auth/models/Ion_auth_model.php +++ b/application/third_party/ion_auth/models/Ion_auth_model.php @@ -1648,7 +1648,7 @@ public function get_users_groups($id = FALSE) // if no id was passed use the current users id $id || $id = $this->session->userdata('user_id'); - return $this->db->select($this->tables['users_groups'].'.'.$this->join['groups'].' as id, '.$this->tables['groups'].'.name, '.$this->tables['groups'].'.description') + return $this->db->select($this->tables['users_groups'].'.'.$this->join['groups'].' as id, '.$this->tables['groups'].'.name, '.$this->tables['groups'].'.description, '.$this->tables['groups'].'.bgcolor') ->where($this->tables['users_groups'].'.'.$this->join['users'], $id) ->join($this->tables['groups'], $this->tables['users_groups'].'.'.$this->join['groups'].'='.$this->tables['groups'].'.id') ->get($this->tables['users_groups']);