MineForeman/MinePeonWebUI — pull request #16 by joeykrim (2013-07-18 02:35:33+00:00)
Title: Adjusted percentage calculations to only be performed if the divisor is ...

...not 0 clearing PHP Warning error in Apache error_log

Encountering PHP Warnings for "Division by zero" on each page refresh of index.php in /var/log/httpd/error_log

By not performing the calculation when the divisor is 0, the warning is avoided.