Replaced addslashes with $this->db->escape
Merge pull request #924 from marcosgdf/minor

Replaced addslashes with $this->db->escape