issue #0001377 : Changement condition car nous avons des chaines de caractères

This commit is contained in:
Michael RICOIS 2012-10-05 14:37:22 +00:00
parent d013580b01
commit 33214f44dd

View File

@ -251,8 +251,8 @@ class Ciblage
$valMax = $minmax->max;
}
$min = !is_int($min) ? $valMin : $min;
$max = !is_int($max) ? $valMax : $max;
$min = ($min=='' || $min===null) ? $valMin : $min;
$max = ($max=='' || $min===null) ? $valMax : $max;
return array(
'min' => $min,