Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Warning System - Ban time 1 Year [R] [C-Chris]
#1
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 :-)
Nothing to say
#2
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


Forum Jump:


Users browsing this thread: 1 Guest(s)