
Oliver Anan - 2011-06-20 17:34:24
Hi,
if I use the isNumber method on the string '0' it returns 0 which is evaluated as false.
As far as I can see in the source code you use intval in the method.
But intval does not return an boolean value.
I could solve the problem with replacing intval with is_numeric.
I hope this helps.