Skip to content
Snippets Groups Projects
Commit 59c8cd71 authored by Andreas Kienast's avatar Andreas Kienast
Browse files

[BUGFIX] Indexed Search: Only write internal log if `debugMode` is enabled

The `Indexer` class from Indexed Search has an `internal_log` property
that's only accessed when `debugMode` is enabled.

However, the wrapper method `log_setTSlogMessage()` always writes into
the log, which doesn't make much sense. Said method now checks for
enabled debugging before writing into the log property.

Resolves: #102909
Releases: main, 12.4
Change-Id: I3d2df9ce49677e995bc86e87d74d80a9016900c4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82615


Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 4cf89797
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