testing things

This commit is contained in:
Viktor Pedersen 2021-08-23 14:21:44 +02:00
parent 24ed30f22b
commit 864be389c3

@ -138,13 +138,13 @@ class SearchPage extends Page {
var_dump($res);
print('<br>');
// $mustIncludeTermCheck = $item->matches($mustIncludeTerm); // matchar inte korrekt???
// if ($mustIncludeTermCheck) {
// $mustMatchCheck[] = array(True);
// }
// else {
// $mustMatchCheck[] = array(False);
// }
$mustIncludeTermCheck = $item->matches($mustIncludeTerm); // matchar inte korrekt???
if ($mustIncludeTermCheck) {
$mustMatchCheck[] = array(True);
}
else {
$mustMatchCheck[] = array(False);
}
}
print('<br>');