Commit 0ba5e102 authored by Marco Pivetta's avatar Marco Pivetta Committed by Benjamin Eberlei

Applying hotfix for DBAL-522

parent 6141e92e
......@@ -212,12 +212,12 @@ class SQLParserUtils
*/
static private function extractParam($paramName, $paramsOrTypes, $isParam, $defaultValue = null)
{
if (isset($paramsOrTypes[$paramName])) {
if (array_key_exists($paramName, $paramsOrTypes)) {
return $paramsOrTypes[$paramName];
}
// Hash keys can be prefixed with a colon for compatibility
if (isset($paramsOrTypes[':' . $paramName])) {
if (array_key_exists(':' . $paramName, $paramsOrTypes)) {
return $paramsOrTypes[':' . $paramName];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment