Skip to content

Commit

Permalink
changed list_user_var_keys's output from array to object
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed May 14, 2015
1 parent 7b180a0 commit 08affa2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -2005,11 +2005,7 @@ public function list_user_var_keys($user_id = FALSE){
// 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();
}
}

Expand Down

0 comments on commit 08affa2

Please sign in to comment.