Skip to content
Snippets Groups Projects
Commit c57a8a1d authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[BUGFIX] Make list of webmount page ids really unique

The fix for #100750 aimed to apply `array_unique()` to the array
containing page ids used as webmounts for the backend search.
Unfortunately, the call was done only for the storage in the runtime
cache with the side effect that still the full array with possible
duplications is returned on first invocation.

The affected `array_unique()` call is now extracted into a separate line
right before storing the resulting array to cache, which results in
returning the same, unified array.

Resolves: #101200
Related: #100750
Releases: main, 12.4, 11.5
Change-Id: Idbe6f1639ec84737ab151d5ab2d18739736e2327
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79534


Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent d3e0d120
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment