Skip to content

Commit a8106d8

Browse files
ngmyiamcal
authored andcommitted
Fix escaped quote decoding
1 parent a831815 commit a8106d8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/SQLParser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,8 @@ function decode_value($token){
11541154
'n' => "\n",
11551155
'r' => "\r",
11561156
't' => "\t",
1157+
"'" => "'",
1158+
'"' => '"',
11571159
);
11581160
$out = '';
11591161
for ($i=1; $i<strlen($token)-1; $i++){

0 commit comments

Comments
 (0)