fixed typo

This commit is contained in:
Viktor Pedersen 2021-09-08 10:29:04 +02:00
parent a850841dbc
commit 3b4da1e5dd

@ -107,8 +107,8 @@ class SearchPage extends Page {
$mustMatchCheck = array();
foreach($mustMatchArray as $mustMatchTerm) {
$mustMatch = $item->matches($mustMatchTerm);
if ($mustMatch) {
$matchingResult = $item->matches($mustMatchTerm);
if ($matchingResult) {
$mustMatchCheck[] = True;
} else {
$mustMatchCheck[] = False;
@ -116,7 +116,7 @@ class SearchPage extends Page {
}
if(in_array(False, $mustMatchCheck, True) === False) {
$sanitizedItems[] = array($item, $mustMatch);
$sanitizedItems[] = array($item);
}
// $mustExcludeCheck = array();