Browse Source

get_user_var implemented

develop
Emre Akay 11 years ago
parent
commit
2a74c1131d
  1. 8
      application/libraries/Aauth.php

8
application/libraries/Aauth.php

@ -1614,8 +1614,12 @@ class Aauth {
$query = $this->CI->db->get( $this->config_vars['user_variables'] ); $query = $this->CI->db->get( $this->config_vars['user_variables'] );
// if variable not set // if variable not set
if ($query->num_rows() < 1) { if ($query->num_rows() < 1) { return false;}
return false;
else {
$row = $query->row();
return $row->value;
} }
} }

Loading…
Cancel
Save