Skip to content

Commit

Permalink
Merge pull request #10603 from AmazingDreams/fix/issue-10595
Browse files Browse the repository at this point in the history
The filter now no longer removes the ' character, fixes #10595
  • Loading branch information
andresgutierrez committed Jul 8, 2015
2 parents d91427c + 6eadd68 commit 8c30892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/filter.zep
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class Filter implements FilterInterface
/**
* The 'email' filter uses the filter extension
*/
return filter_var(str_replace("'", "", value), constant("FILTER_SANITIZE_EMAIL"));
return filter_var(value, constant("FILTER_SANITIZE_EMAIL"));

case Filter::FILTER_INT:
/**
Expand Down

0 comments on commit 8c30892

Please sign in to comment.