Skip to content

Commit

Permalink
use internal escaping function
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailShumilov committed Feb 5, 2015
1 parent 9175f04 commit 802f3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Convertor.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private function end($parser, $name)
break;
case "row":
array_walk( $this->row, function ( &$item, $key ) {
$item = str_replace( "'", "''", $item );
$item = pg_escape_string( $item );
} );
fwrite(
$this->oFh,
Expand Down

0 comments on commit 802f3ab

Please sign in to comment.