From 08affa2abcc5658ac97db35bef522bddf676dc61 Mon Sep 17 00:00:00 2001 From: Raphael Jackstadt Date: Thu, 14 May 2015 15:06:37 +0200 Subject: [PATCH] changed list_user_var_keys's output from array to object --- application/libraries/Aauth.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/application/libraries/Aauth.php b/application/libraries/Aauth.php index 3eb044e..04d5172 100644 --- a/application/libraries/Aauth.php +++ b/application/libraries/Aauth.php @@ -2005,11 +2005,7 @@ class Aauth { // if variable not set if ($query->num_rows() < 1) { return FALSE;} else { - $key_list = array(); - foreach( $query->result() as $row) { - $key_list[] = $row->key; - } - return $key_list; + return $query->result(); } }