Skip to content

Commit 07822b1

Browse files
committed
Fix escaped quote decoding
1 parent 0731cb4 commit 07822b1

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)