1
0
mirror of synced 2025-01-18 14:31:40 +03:00

DDC-551 - Make filters case-sensitive everywhere

This commit is contained in:
Benjamin Eberlei 2011-12-11 19:27:50 +01:00
parent 69b1eb5c64
commit ca5dbb182a

View File

@ -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;
} }