[Pushed] ban_date2timestamp uses supports using timestamp but doesn't use it in date calls
#1
https://github.com/mybb/mybb/blob/featur....php#L6730

date("G") and date("i") don't have $stamp as the second arg and as a result uses the current timestamp for that, messing up the return value.
Reply
#2
Looks like a bug to me, can't check it atm. But from the code I'd say it's a bug.
Support PMs will be ignored!
Reply
#3
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2141

Thanks for contributing to MyBB!

Regards,
The MyBB Group
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)