diff --git a/resources/classes/database.php b/resources/classes/database.php index fc5f97ace8..7a555ac3a7 100644 --- a/resources/classes/database.php +++ b/resources/classes/database.php @@ -1813,6 +1813,9 @@ include "root.php"; private function singular($word) { //"-es" is used for words that end in "-x", "-s", "-z", "-sh", "-ch" in which case you add if (substr($word, -2) == "es") { + if (substr($word, -3) == "ies") { + return substr($word,0,-3)."y"; + } if (substr($word, -3, 1) == "x") { return substr($word,0,-2); }