Softens the filter slightly
This commit is contained in:
parent
dbf62c88bd
commit
7c1707dea0
1 changed files with 1 additions and 1 deletions
2
db.php
2
db.php
|
@ -283,7 +283,7 @@ class DataBase
|
||||||
{
|
{
|
||||||
$sim = similar_text($word1, $word2, $perc);
|
$sim = similar_text($word1, $word2, $perc);
|
||||||
$sim_meta = similar_text(metaphone($word1), metaphone($word2), $perc_meta);
|
$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 true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue