Thanks for reporting this issue and helping to make Ubuntu better. This is not a bug, but a rounding error that is very usual in such calculations, as you can easily see when you use intval() on the variable $high_display_limit. The easiest way to get around this issue is to use the function round() to eliminate the rounding error. This works in this case since you only expect integers. In other cases you might need to use other methods including using the < comparator instead of <=. However, this is a common problem with floating-point calculation that every programmer should be aware of.
Thanks again for your report. ** Changed in: php5 (Ubuntu) Assignee: (unassigned) => Ralph Janke (txwikinger) Status: New => Invalid -- 8<=8 => false https://bugs.launchpad.net/bugs/274939 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs