Skip to content

Commit

Permalink
removed mysql_real_escape_string causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fido-hh committed Nov 17, 2012
1 parent 554bebc commit 27305df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/auth_other.php
Expand Up @@ -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
Expand Down

0 comments on commit 27305df

Please sign in to comment.