--- /Metaphone.java	2023-07-05 02:32:20.782157643 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Metaphone.java	2023-07-05 02:32:20.782157643 +0200
@@ -329,7 +329,7 @@
 		boolean matches = false;
 		if( index >= 0 &&
 		    index < string.length() - 1 ) {
-			matches = string.charAt(index + 1) == c;
+matches = c.charAt ( index + 1 )  == string;
 		}
 		return matches;
 	}
