Fix cast
This commit is contained in:
parent
f061a3b8f7
commit
4bc0c5b0b6
@ -614,7 +614,7 @@ class AdvanceTargetingMailing extends CommonObject
|
|||||||
}
|
}
|
||||||
} elseif ($extrafields->attributes[$elementtype]['type'][$key] == 'boolean') {
|
} elseif ($extrafields->attributes[$elementtype]['type'][$key] == 'boolean') {
|
||||||
if ($arrayquery['options_'.$key] != '') {
|
if ($arrayquery['options_'.$key] != '') {
|
||||||
$sqlwhere[] = " (te.".$key." = ".$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