Skip to content

Commit

Permalink
'lil fix
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed Aug 9, 2014
1 parent a0d4cc4 commit 16f8113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ public function get_user_var( $key, $user_id = false){
* @param int $user_id ; if not given current user
* @return bool|string , false if var is not set, the value of var if set
*/
public function get_user_var_keys($user_id = false){
public function list_user_var_keys($user_id = false){

if ( ! $user_id ){
$user_id = $this->CI->session->userdata('id');
Expand All @@ -1812,7 +1812,7 @@ public function get_user_var_keys($user_id = false){
foreach($query->result_array() as $row){
$clean_array[] = $row['key'];
}
return $clean_array;
return (object) $clean_array;
}

}
Expand Down

0 comments on commit 16f8113

Please sign in to comment.