fixed typo
This commit is contained in:
parent
a850841dbc
commit
3b4da1e5dd
@ -107,8 +107,8 @@ class SearchPage extends Page {
|
|||||||
|
|
||||||
$mustMatchCheck = array();
|
$mustMatchCheck = array();
|
||||||
foreach($mustMatchArray as $mustMatchTerm) {
|
foreach($mustMatchArray as $mustMatchTerm) {
|
||||||
$mustMatch = $item->matches($mustMatchTerm);
|
$matchingResult = $item->matches($mustMatchTerm);
|
||||||
if ($mustMatch) {
|
if ($matchingResult) {
|
||||||
$mustMatchCheck[] = True;
|
$mustMatchCheck[] = True;
|
||||||
} else {
|
} else {
|
||||||
$mustMatchCheck[] = False;
|
$mustMatchCheck[] = False;
|
||||||
@ -116,7 +116,7 @@ class SearchPage extends Page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(in_array(False, $mustMatchCheck, True) === False) {
|
if(in_array(False, $mustMatchCheck, True) === False) {
|
||||||
$sanitizedItems[] = array($item, $mustMatch);
|
$sanitizedItems[] = array($item);
|
||||||
}
|
}
|
||||||
|
|
||||||
// $mustExcludeCheck = array();
|
// $mustExcludeCheck = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user