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