MyBB Community Forums

Full Version: [F] Warning System - Ban time 1 Year [R] [C-Chris]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there :-)
By chance I found a small bug...
I was looking through the warnings.php because I thougt of some small changes and noticed that one year has only 265 days ;-)

if($year > 0)
   $time += 60*60*24*265*$year;

Lines 308-311

Best regards :-)
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