@@ -152,9 +152,9 @@ |
||
152 | 152 | $case = true; |
153 | 153 | } |
154 | 154 | if($case) |
155 | - { |
|
155 | + { |
|
156 | 156 | if(class_exists('MongoRegex')) |
157 | - { |
|
157 | + { |
|
158 | 158 | return array($field=>array('$regex'=>new \MongoRegex('/'.$this->var2.'/i'))); |
159 | 159 | } |
160 | 160 | else |