projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove ValidateIterator, replaced by Validate::iterate().
[platal.git]
/
modules
/
axletter
/
axletter.inc.php
diff --git
a/modules/axletter/axletter.inc.php
b/modules/axletter/axletter.inc.php
index
5297ac9
..
53c7dd3
100644
(file)
--- 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';
}
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 pd.promo >= 'X{$this->_promo_min}'))";
$where = array();
if ($this->_promo_min) {
$where[] = "((ni.uid = 0 AND ni.promo >= {$this->_promo_min}) OR (ni.uid != 0 AND pd.promo >= 'X{$this->_promo_min}'))";