? bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar SniperSister
SniperSister
26 Aug 2023

Summary of Changes

While developing #41470 I looked for similar filtering calls in the codebase and realized that the $db->quote, that I removed in this PR has to be removed because otherwise items assigned to "All" languages won't be filtered. The quote seems to date back to a non-prepared-statement version of the query where it made sense, in the new version however it causes the query to include WHERE IN ("en-GB", "\"*\"") which doesn't match with * what's stored in the DB.

The change is trivial, therefore no detailed testing instructions provided.

Testing Instructions

Code Review

avatar joomla-cms-bot joomla-cms-bot - change - 26 Aug 2023
Category Front End com_contact
avatar SniperSister SniperSister - open - 26 Aug 2023
avatar SniperSister SniperSister - change - 26 Aug 2023
Status New Pending
avatar SniperSister SniperSister - change - 26 Aug 2023
Title
[4] Remove quote call
[4] Remove $db->quote call in com_contact query
avatar SniperSister SniperSister - edited - 26 Aug 2023
avatar richard67 richard67 - test_item - 26 Aug 2023 - Tested successfully
avatar richard67
richard67 - comment - 26 Aug 2023

I have tested this item ✅ successfully on 9847e76

Code review.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41472.

avatar alikon alikon - test_item - 27 Aug 2023 - Tested successfully
avatar alikon
alikon - comment - 27 Aug 2023

I have tested this item ✅ successfully on 9847e76


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41472.

avatar alikon alikon - change - 27 Aug 2023
Status Pending Ready to Commit
avatar alikon
alikon - comment - 27 Aug 2023

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41472.

avatar Quy Quy - change - 27 Aug 2023
Labels Added: ? bug PR-4.4-dev
avatar wilsonge wilsonge - close - 28 Aug 2023
avatar wilsonge wilsonge - merge - 28 Aug 2023
avatar wilsonge wilsonge - change - 28 Aug 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-08-28 11:10:59
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 28 Aug 2023

Thanks!

Add a Comment

Login with GitHub to post a comment