fixed typo
This commit is contained in:
parent
a1e187744b
commit
141a3017c5
@ -103,7 +103,9 @@ class SearchPage extends Page {
|
||||
$sanitizedItems = array();
|
||||
foreach($items as $item) {
|
||||
$mustMatch = $item->matches($mustMatchArray);
|
||||
|
||||
if($mustMatch) {
|
||||
$sanitizedItems[] = array($item, $mustMatch);
|
||||
}
|
||||
|
||||
// $mustMatchCheck = array();
|
||||
// foreach($mustMatchArray as $mustMatchTerm) {
|
||||
@ -118,10 +120,8 @@ class SearchPage extends Page {
|
||||
// if(in_array(False, $mustMatchCheck, True) === False) {
|
||||
// $sanitizedItems[] = array($item, $mustMatch);
|
||||
// }
|
||||
|
||||
|
||||
if($mustMatch) {
|
||||
$sanitizedItems[] = array($item, $mustMatch);
|
||||
}
|
||||
|
||||
// $mustExcludeCheck = array();
|
||||
// foreach($mustExcludeArray as $mustExcludeTerm) {
|
||||
@ -150,7 +150,7 @@ class SearchPage extends Page {
|
||||
|
||||
foreach($sanitizedItems as $sanitizedItem) {
|
||||
print('DEBUG $sanitizedItem: ');
|
||||
var_dump($sanitizedItem;
|
||||
var_dump($sanitizedItem);
|
||||
print('<br><br>');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user