Skip to content

Commit

Permalink
Merge branch 'master' into testing
Browse files Browse the repository at this point in the history
  • Loading branch information
zombor committed Jun 11, 2010
2 parents 1707a9b + eb8f70d commit 5179442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/kohana/validate.php
Expand Up @@ -352,7 +352,7 @@ public static function digit($str, $utf8 = FALSE)
}
else
{
return is_int($str) OR ctype_digit($str);
return (is_int($str) AND $str >= 0) OR ctype_digit($str);
}
}

Expand Down

0 comments on commit 5179442

Please sign in to comment.