Skip to content
Snippets Groups Projects
Commit 06f1f6d9 authored by Stefan Froemken's avatar Stefan Froemken Committed by Benni Mack
Browse files

[BUGFIX] Prevent PHP warning using unsetLimit

The extbase implementation "Query" of the
QueryInterface contains a method "unsetLimit".
Calling this method really PHP:unset()'s the
$limit property from Query object. That will
produce various PHP warnings where getLimit()
is called.
As $limit is initialized with null while
instanciation, calling unsetLimit() will now
reset $limit to null again instead of removing
the complete property.

Resolves: #100999
Releases: main, 12.4
Change-Id: I8042823b7b3e8d010787d976c1a469988b618c41
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79423


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 2bd6e36e
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