Skip to content

Commit

Permalink
Correcting a bug: escaping single quote in mysql call procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
richardcastro committed Sep 20, 2015
1 parent 6efac62 commit b2b62ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ sub Save {
($oIncorrectEntry) = @_;
$cpIncorrectEntryId = $oIncorrectEntry->cpIncorrectEntryId();
$cpEntry = $oIncorrectEntry->cpEntry();
$cpEntry =~ s/'/''/g;
$cpIsCorrect = $oIncorrectEntry->cpIsCorrect();
$cpFrecuency = $oIncorrectEntry->cpFrecuency();
$cpSLang = $oIncorrectEntry->cpSLang();
Expand Down

0 comments on commit b2b62ba

Please sign in to comment.