diff --git a/lib/Doctrine/ORM/Configuration.php b/lib/Doctrine/ORM/Configuration.php index 5f5a58b30..874d3725f 100644 --- a/lib/Doctrine/ORM/Configuration.php +++ b/lib/Doctrine/ORM/Configuration.php @@ -504,7 +504,7 @@ class Configuration extends \Doctrine\DBAL\Configuration */ 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) { - $name = strtolower($name); return isset($this->_attributes['filters'][$name]) ? $this->_attributes['filters'][$name] : null; }