X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fuserfilter%2Fconditions.inc.php;h=2ad8d1dd7ceed6587220a2439d73d09df5c4912e;hb=73317355964c4cd538157f8b281a1384b7e38e4d;hp=a3faa35e68e19b177f86f17e29587e8688f52be6;hpb=821198c7f5394839f6421c54a32ae2a0dca19b3d;p=platal.git diff --git a/classes/userfilter/conditions.inc.php b/classes/userfilter/conditions.inc.php index a3faa35..2ad8d1d 100644 --- a/classes/userfilter/conditions.inc.php +++ b/classes/userfilter/conditions.inc.php @@ -1,6 +1,6 @@ 'secondary', self::FLAG_MAIL => 'mail', self::FLAG_CEDEX => 'cedex', + self::FLAG_AX_MAIL => 'ax_mail', ); protected $flags; @@ -1098,7 +1101,7 @@ class UFC_AddressComponent extends UFC_Address private $fieldtype; private $exact; - public function __construct($val, $fieldtype, $exact = true, $type = null, $flags = self::FLAG_ANY) + public function __construct($val, $fieldtype, $type = null, $flags = self::FLAG_ANY) { if (!in_array($fieldtype, self::$components)) { Platal::page()->killError('Invalid address field type: ' . $this->fieldtype); @@ -1110,7 +1113,6 @@ class UFC_AddressComponent extends UFC_Address } $this->val = $val; $this->fieldtype = $fieldtype; - $this->exact = $exact; } public function buildCondition(PlFilter $uf) @@ -1719,5 +1721,5 @@ class UFC_PartnerSharingID extends UserFilterCondition } // }}} -// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8: ?>