From a3182c4545227e827e969079ea7f58665b4b4359 Mon Sep 17 00:00:00 2001 From: Eike Foken Date: Thu, 18 Aug 2011 15:33:20 +0200 Subject: [PATCH] Fix bug with user->profile() --- application/models/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/user.php b/application/models/user.php index 8f75d11..2187aa6 100644 --- a/application/models/user.php +++ b/application/models/user.php @@ -229,7 +229,7 @@ class User extends CI_Model { $query = $this->db->limit(1)->get('users'); - return $query->num_rows() > 0 ? $query->row_array() : false; + return $query->num_rows() > 0 ? $query->row() : false; } /**