testing search function
This commit is contained in:
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>');
|
||||
|
Loading…
x
Reference in New Issue
Block a user