diff --git a/include/SearchPage.php b/include/SearchPage.php index 2cbb9d6..9ee2d94 100644 --- a/include/SearchPage.php +++ b/include/SearchPage.php @@ -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); }