Softens the filter slightly

This commit is contained in:
Gregory Trolliet 2020-11-23 22:53:06 +01:00
parent dbf62c88bd
commit 7c1707dea0
1 changed files with 1 additions and 1 deletions

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;