testing search function
This commit is contained in:
parent
dc3cd3251b
commit
976ca1cfaa
@ -108,10 +108,16 @@ class SearchPage extends Page {
|
||||
foreach($mustIncludeArray as $mustIncludeTerm) {
|
||||
if (array_key_exists($mustIncludeTerm, $mustMatchCheck)) {
|
||||
$mustMatchCheck[] = True;
|
||||
print('DEBUG added TRUE to $mustMatchCheck[]<br>');
|
||||
} else {
|
||||
$mustMatchCheck[] = False;
|
||||
print('DEBUG added FALSE to $mustMatchCheck[]<br>');
|
||||
}
|
||||
}
|
||||
print('DEBUG $sanitizedItem: ');
|
||||
var_dump($sanitizedItem);
|
||||
print('<br><br>');
|
||||
|
||||
if(in_array(False, $mustIncludeCheck, True) === False) {
|
||||
$sanitizedItems[] = array($item, $mustMatch);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user