DDC-551 - Make filters case-sensitive everywhere
This commit is contained in:
parent
69b1eb5c64
commit
ca5dbb182a
@ -504,7 +504,7 @@ class Configuration extends \Doctrine\DBAL\Configuration
|
|||||||
*/
|
*/
|
||||||
public function addFilter($name, $className)
|
public function addFilter($name, $className)
|
||||||
{
|
{
|
||||||
$this->_attributes['filters'][strtolower($name)] = $className;
|
$this->_attributes['filters'][$name] = $className;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -517,7 +517,6 @@ class Configuration extends \Doctrine\DBAL\Configuration
|
|||||||
*/
|
*/
|
||||||
public function getFilterClassName($name)
|
public function getFilterClassName($name)
|
||||||
{
|
{
|
||||||
$name = strtolower($name);
|
|
||||||
return isset($this->_attributes['filters'][$name]) ?
|
return isset($this->_attributes['filters'][$name]) ?
|
||||||
$this->_attributes['filters'][$name] : null;
|
$this->_attributes['filters'][$name] : null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user