|
|
@ -1808,11 +1808,7 @@ class Aauth { |
|
|
|
// if variable not set |
|
|
|
// if variable not set |
|
|
|
if ($query->num_rows() < 1) { return false;} |
|
|
|
if ($query->num_rows() < 1) { return false;} |
|
|
|
else { |
|
|
|
else { |
|
|
|
$clean_array = array(); |
|
|
|
return $query->result(); |
|
|
|
foreach($query->result_array() as $row){ |
|
|
|
|
|
|
|
$clean_array[] = $row['key']; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return (object) $clean_array; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|