diff --git a/application/controllers/auth_other.php b/application/controllers/auth_other.php index 595b0c9..e8aa7c9 100644 --- a/application/controllers/auth_other.php +++ b/application/controllers/auth_other.php @@ -292,8 +292,8 @@ function fill_user_info() } else { - $username = mysql_real_escape_string($this->input->post('username')); - $email = mysql_real_escape_string($this->input->post('email')); + $username = $this->db->escape_str($this->input->post('username')); + $email = $this->db->escape_str($this->input->post('email')); /* * We now must create a new user in tank auth with a random password in order