Humpf.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 1 Jul 2011 22:55:03 +0000 (00:55 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 1 Jul 2011 22:55:03 +0000 (00:55 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/userfilter/conditions.inc.php

index f4993b9..4070c3f 100644 (file)
@@ -846,7 +846,7 @@ class UFC_NLSubscribed extends UserFilterCondition
     public function buildCondition(PlFilter $uf)
     {
         $sub = $uf->addNewsLetterFilter($this->nlid);
-        return XDB::format($sub . '.nlid IS NOT NULL AND ( ' . $sub . ' IS NULL OR ' . $sub . '.last < {?})', $this->issue_id);
+        return XDB::format($sub . '.nlid IS NOT NULL AND ( ' . $sub . '.last IS NULL OR ' . $sub . '.last < {?})', $this->issue_id);
     }
 }
 // }}}