User tests: Successful: Unsuccessful:
Pull Request for Issue # .
In some of our controller classes, we have this line of code $recordId = (int) isset($data[$key]) ? $data[$key] : 0;
. It is clearly we want to have int casting applied to $data[$key]. However, with the current code, int casting is actually being applied to isset($data[$key]) and it is not right. This PR fixes that wrong logic.
The change is the same for all controllers, so we will just need to test one
Works, but int casting is not applied to $data[$key] as expected
Works, and int casting is applied properly to $data[$key] as expected
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_banners com_categories com_contact com_content com_fields com_modules com_newsfeeds Front End |
Labels |
Added:
PR-5.3-dev
|
@joomdonation You should restore @QuyTon 's test result in the issue tracker because it got lost with the branch update. You can use the "Alter test" button for that.
Thanks @richard67. I had to don that to trigger CI re-run. I now altered test result from @QuyTon
I have tested this item ✅ successfully on c5277db
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-02-28 17:24:05 |
Closed_By | ⇒ | rdeutz |
I have tested this item ✅ successfully on 0fbf20c
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45037.