Update advtargetemailing.class.php
This commit is contained in:
parent
318a783237
commit
e9b8e81773
@ -641,8 +641,8 @@ class AdvanceTargetingMailing extends CommonObject
|
|||||||
$sqlwhere[]= " (te.".$key." = ".$arrayquery['options_'.$key].")";
|
$sqlwhere[]= " (te.".$key." = ".$arrayquery['options_'.$key].")";
|
||||||
}
|
}
|
||||||
} elseif ($extrafields->attributes[$elementtype]['type'][$key] == 'link') {
|
} elseif ($extrafields->attributes[$elementtype]['type'][$key] == 'link') {
|
||||||
if ($arrayquery['options_'.$key] > 0){
|
if ($arrayquery['options_'.$key] > 0) {
|
||||||
$sqlwhere[]= " (te.".$key." = ".((int) $arrayquery['options_'.$key]).")";
|
$sqlwhere[]= " (te.".$key." = ".((int) $arrayquery['options_'.$key]).")";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (is_array($arrayquery['options_'.$key])) {
|
if (is_array($arrayquery['options_'.$key])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user