Skip to content

Commit d1edda0

Browse files
committed
ws fix
1 parent 009bd62 commit d1edda0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/PHPCR/Util/QOM/Sql2ToQomQueryConverter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,8 +699,7 @@ protected function parseLiteral()
699699
if (substr($token, -1) !== $quoteString) {
700700
throw new \Exception("Syntax error: unterminated quoted string $token in '{$this->sql2}'");
701701
}
702-
703-
$token = substr($token, 1, -1);
702+
$token = substr($token, 1, -1);
704703
} else if (is_numeric($token)){
705704
$token = strpos($token, '.') === false ? (int) $token : (float) $token;
706705
} else if ($token == 'true') {

0 commit comments

Comments
 (0)