Fixes address search.
authorStéphane Jacob <sj@m4x.org>
Sun, 10 Jun 2012 16:36:40 +0000 (18:36 +0200)
committerStéphane Jacob <sj@m4x.org>
Sun, 10 Jun 2012 16:36:40 +0000 (18:36 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/userfilter/conditions.inc.php

index 0d639ee..05fb4af 100644 (file)
@@ -1107,7 +1107,7 @@ class UFC_AddressComponent extends UFC_Address
             Platal::page()->killError('Invalid address field type: ' . $this->fieldtype);
         }
 
-        $flags = 0x20;
+        $flags = self::FLAG_ANY;
         parent::__construct($type, $flags);
         if (!is_array($val)) {
             $val = array($val);