mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +01:00
- MFH: Fixed bug #47443 (metaphone('scratch') returns wrong result)
This commit is contained in:
@@ -421,7 +421,7 @@ static int metaphone(unsigned char *word, int word_len, long max_phonemes, char
|
||||
} else if (Next_Letter == 'H') {
|
||||
Phonize(TH);
|
||||
skip_letter++;
|
||||
} else {
|
||||
} else if (!(Next_Letter == 'C' && After_Next_Letter == 'H')) {
|
||||
Phonize('T');
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user