# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\Workspaces\MedAdvisor\vendor\doctrine\lib\Doctrine\ORM\Query # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: SqlWalker.php --- SqlWalker.php Base (BASE) +++ SqlWalker.php Locally Modified (Based On LOCAL) @@ -1829,6 +1829,8 @@ $dqlParamKey = $inputParam->name; $this->_parserResult->addParameterMapping($dqlParamKey, $this->_sqlParamIndex++); $sql .= '?'; + } elseif ($likeExpr->stringPattern instanceof AST\Node) { + $sql .= $likeExpr->stringPattern->dispatch($this); } else { $sql .= $this->_conn->quote($likeExpr->stringPattern); }