Skip to content

Commit

Permalink
Merge pull request #20 from nacmartin/sqlconverter
Browse files Browse the repository at this point in the history
Adding quotes to literals in expressions of fullsearch at qom2sql converter
  • Loading branch information
Dan committed Nov 14, 2011
2 parents 1dda1b2 + 78bdf87 commit 01a02b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/PHPCR/Util/QOM/QomToSql2QueryConverter.php
Expand Up @@ -369,8 +369,7 @@ protected function convertFullTextSearchExpression($literal)
return $this->convertLiteral($literal);
}

//TODO: is that correct?
return $literal;
return "'$literal'";
}

/**
Expand Down

0 comments on commit 01a02b3

Please sign in to comment.