@@ -42,7 +42,7 @@ |
||
| 42 | 42 | // if user's lastname is part of the email address, check to see if the difference is only in the domain part |
| 43 | 43 | $email1 = preg_replace('/@.+/', '', $person1['email']); |
| 44 | 44 | $email2 = preg_replace('/@.+/', '', $person2['email']); |
| 45 | - if ( str_contains($email1, $person1['lastname']) |
|
| 45 | + if (str_contains($email1, $person1['lastname']) |
|
| 46 | 46 | && $email1 == $email2) { |
| 47 | 47 | $p += 0.5; |
| 48 | 48 | } |