[BUGFIX] Fix wrong strlen check in DoubleMetaPhoneUtility 52/57252/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 17 Jun 2018 17:23:41 +0000 (19:23 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 18 Jun 2018 04:33:35 +0000 (06:33 +0200)
commit80aeefd915f23023446da6a3cbc2df587deb7e01
tree1b14f393368954c7f73b0222ae7f3b6e60ab1e3a
parent0b2a0e58b435c84d87c4327b614292624766d4f1
[BUGFIX] Fix wrong strlen check in DoubleMetaPhoneUtility

while (strlen($this->primary) < 4 || strlen($this->secondary < 4)) {

should be

while (strlen($this->primary) < 4 || strlen($this->secondary) < 4) {

Resolves: #85296
Releases: master,8.7
Change-Id: I1820218410538c095f3e3c907190726f8e970410
Reviewed-on: https://review.typo3.org/57252
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/indexed_search/Classes/Utility/DoubleMetaPhoneUtility.php