FIX : cast int
This commit is contained in:
parent
f8fcf7c16b
commit
5b6439ca5e
@ -638,7 +638,7 @@ class AdvanceTargetingMailing extends CommonObject
|
||||
}
|
||||
} elseif ($extrafields->attributes[$elementtype]['type'][$key] == 'boolean') {
|
||||
if ($arrayquery['options_'.$key]!=''){
|
||||
$sqlwhere[]= " (te.".$key." = ".$arrayquery['options_'.$key].")";
|
||||
$sqlwhere[]= " (te.".$key." = ".((int)$arrayquery['options_'.$key]).")";
|
||||
}
|
||||
} elseif ($extrafields->attributes[$elementtype]['type'][$key] == 'link') {
|
||||
if ($arrayquery['options_'.$key] > 0){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user