diff --git a/lib/Doctrine/Query/Where.php b/lib/Doctrine/Query/Where.php index 6494b47cc..8af7161d9 100644 --- a/lib/Doctrine/Query/Where.php +++ b/lib/Doctrine/Query/Where.php @@ -118,6 +118,7 @@ class Doctrine_Query_Where extends Doctrine_Query_Condition { case '<': case '>': case '=': + case '!=': if($enumIndex !== false) $value = $enumIndex; default: