UnionOfRAD/lithium — pull request #801 by v-v-vishnevskiy (2013-01-25 11:41:23+00:00)
Title: Avoid integer and float values false pass 'inList' validation

As PHP prefers to compare integers/floats if one of the arguments have type int/float false positives are very common, like 0 == 'a'. This patch prevents such behavior for `'inList'` validation rule but only for case when validated value have type int/float. It does not process list of allowed values.