testing search function

This commit is contained in:
Viktor Pedersen 2021-08-13 11:23:40 +02:00
parent 1460608b5e
commit 032c94b6a2

@ -115,7 +115,7 @@ class SearchPage extends Page {
print_r($mustIncludeItem);
print('<br>');
$res = $item->matches($mustIncludeItem)
$res = $item->matches($mustIncludeItem);
if(in_array($mustIncludeItem, $res, True)) {
$mustMatchCheck = True;
print('DEBUG $mustMatchCheck: TRUE <br>');
@ -125,7 +125,7 @@ class SearchPage extends Page {
break;
}
}
if ($mustMatchCheck) {
$sanitizedDB[] = array($item);
print('DEBUG $sanitizedDB: ADDED ITEM <br>');