User tests: Successful: Unsuccessful:
Pull Request for Issue #42841.
The current code in BannerHelper
classs bind a Joomla\CMS\Date\Date
object to :date
parameter and could cause application crashes in some environments as reported in the issue. This PR changes code so that the parameter is bound by a string in Datetime format instead (same with the code in other places in Joomla). I also rename the variable to $nowDate
to imply that this is current date time (also, same with similar codes use in other places in Joomla)
Sometime application crashes
Always works, no crashes anymore.
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_banners |
I have tested this item ✅ successfully on 183b562
code review
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
PR-4.4-dev
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-02-28 11:12:32 |
Closed_By | ⇒ | laoneo |
Thanks!
I have tested this item ✅ successfully on 183b562
code review
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42869.