Kohana v3.3.2

This commit is contained in:
Deon George
2014-09-06 23:43:07 +10:00
parent f96694b18f
commit 8888719653
236 changed files with 1685 additions and 996 deletions

View File

@@ -478,7 +478,7 @@ class Kohana_Valid {
*/
public static function range($number, $min, $max, $step = NULL)
{
if ($number <= $min OR $number >= $max)
if ($number < $min OR $number > $max)
{
// Number is outside of range
return FALSE;
@@ -548,4 +548,4 @@ class Kohana_Valid {
return ($array[$field] === $array[$match]);
}
} // End Valid
}