From d255234f1e172774f604b634730bfb99774e0340 Mon Sep 17 00:00:00 2001 From: REJack Date: Sun, 10 Aug 2014 00:25:37 +0200 Subject: [PATCH] Update Aauth.php --- 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 7d2e774..b16eecb 100644 --- a/application/libraries/Aauth.php +++ b/application/libraries/Aauth.php @@ -1808,11 +1808,7 @@ class Aauth { // if variable not set if ($query->num_rows() < 1) { return false;} else { - $clean_array = array(); - foreach($query->result_array() as $row){ - $clean_array[] = $row['key']; - } - return (object) $clean_array; + return $query->result(); } }