1
0
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:
Felipe Pena
2009-02-18 22:34:06 +00:00
parent bdb3d4320e
commit cadaace16c

View File

@@ -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;