Softens the filter slightly

This commit is contained in:
Gregory Trolliet 2020-11-23 22:53:06 +01:00
parent dbf62c88bd
commit 7c1707dea0

2
db.php
View file

@ -283,7 +283,7 @@ class DataBase
{
$sim = similar_text($word1, $word2, $perc);
$sim_meta = similar_text(metaphone($word1), metaphone($word2), $perc_meta);
if ($perc >= 80 && $perc_meta >= 80) {
if ($perc >= 75 && $perc_meta >= 80) {
return true;
}
return false;