ossreleasefeed/socorro — comment on commit 004680dfec20e55c14ff8ee2dd5bb2cb0aebaffe
File: webapp-php/application/views/common/dashboard_product.php line 51
By Lonnen:

In PHP when you're comparing 'numerical strings', the strings will be converted to numbers when evaluating the comparators (==, <). Better to explicitly cast them yourself, and then use something like `return $second - $first`.