Skip to content

Commit

Permalink
ws fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Jun 9, 2013
1 parent 009bd62 commit d1edda0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/PHPCR/Util/QOM/Sql2ToQomQueryConverter.php
Expand Up @@ -699,8 +699,7 @@ protected function parseLiteral()
if (substr($token, -1) !== $quoteString) {
throw new \Exception("Syntax error: unterminated quoted string $token in '{$this->sql2}'");
}

$token = substr($token, 1, -1);
$token = substr($token, 1, -1);
} else if (is_numeric($token)){
$token = strpos($token, '.') === false ? (int) $token : (float) $token;
} else if ($token == 'true') {
Expand Down

0 comments on commit d1edda0

Please sign in to comment.