testing search function

This commit is contained in:
Viktor Pedersen 2021-08-12 14:44:39 +02:00
parent 741fc7fcf7
commit ad67b66427

@ -65,9 +65,10 @@ class SearchPage extends Page {
$mustIncludeArray = array();
$mustExcludeArray = array();
$canIncludeArray = array();
$res = array();
foreach($terms as $term => $i) {
$res = preg_split("/^([+-]?)(.*)$/", $term, -1, PREG_SPLIT_DELIM_CAPTURE);
$res = array(preg_split("/^([+-]?)(.*)$/", $term, -1, PREG_SPLIT_DELIM_CAPTURE));
print('$res: ');
print_r($res[$i]);
print('<br>');