MyBB Community Forums
[F] Server load reported as Unknown when 0.00 [C-Imad Jomaa] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.4 (https://community.mybb.com/forum-110.html)
+------ Thread: [F] Server load reported as Unknown when 0.00 [C-Imad Jomaa] (/thread-46986.html)



[F] Server load reported as Unknown when 0.00 [C-Imad Jomaa] - peroo - 03-20-2009

Server load in admin returns as 'Unknown' if the load is 0.00. This is due to code @ line 1619 in functions.php simply checking for !$serverload, which naturally returns false for zero. Changing it to " if(!is_numeric($serverload))" fixes it quite easily.


[F] Server load reported as Unknown when 0.00 - Ryan Gordon - 03-20-2009

Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group