fix non strict comparaisons

This commit is contained in:
gnieark 2015-12-12 10:57:03 +01:00
parent 019cd7da07
commit c9238dcf91

View File

@ -25,8 +25,8 @@ switch ($_POST['act']){
}
if (
(!is_numeric($value))
OR ($value < $p[1])
OR ($value > $p[2])
OR ($value <= $p[1])
OR ($value >= $p[2])
)
{
error(500,'wrong parameters');