X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=modules%2Faxletter%2Faxletter.inc.php;h=f31f9792852c3af1aa9eae13e92233ef6ed7bc71;hb=ed92ea696e042eb9b2d0efcc4731fdf89fb17924;hp=761724cd79433bdc4b2bdf35e798997738f1d961;hpb=d75eb892a69b878087ac5624257aa7b2a33b4c14;p=platal.git diff --git a/modules/axletter/axletter.inc.php b/modules/axletter/axletter.inc.php index 761724c..f31f979 100644 --- a/modules/axletter/axletter.inc.php +++ b/modules/axletter/axletter.inc.php @@ -175,6 +175,7 @@ class AXLetter extends MassMailer if (!$this->_promo_min && !$this->_promo_max && !$this->_subset) { return '1'; } + /* TODO: refines this filter on promotions by using userfilter. */ $where = array(); if ($this->_promo_min) { $where[] = "((ni.uid = 0 AND ni.promo >= {$this->_promo_min}) OR (ni.uid != 0 AND u.promo >= {$this->_promo_min}))";