[BUGFIX] Fix wrong strlen check in DoubleMetaPhoneUtility 54/57254/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:57:34 +0000 (06:57 +0200)
commiteb793171674ad5b2bdafb60def76116b21327eeb
tree754c5a938eb3f97c8f3cf45a54872a4435a4fc9e
parente2e07114e55f1102976cb905f9d415df4c69b043
[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/57254
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/indexed_search/Classes/Utility/DoubleMetaPhoneUtility.php