fixed typo
This commit is contained in:
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user