fixed code
This commit is contained in:
parent
25cbafb475
commit
ec1f9d13c0
@ -165,8 +165,6 @@ class SearchPage extends Page {
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
$mustIncludeArray = array();
|
||||
$mustExcludeArray = array();
|
||||
$canIncludeArray = array();
|
||||
@ -176,13 +174,15 @@ class SearchPage extends Page {
|
||||
// adds to mustIncludeArray
|
||||
$mustIncludeArray[] = array(substr($term[$i], 1))
|
||||
//echo "test print " substr($term[$i], 1);
|
||||
} elseif($term[$i][0] == "!" || $term[$i][0] == "-") {
|
||||
// adds to mustExcludeArray
|
||||
$mustExcludeArray[] = array(substr($term[$i], 1))
|
||||
//echo "test print " substr($term[$i], 1);
|
||||
} else {
|
||||
// adds to canIncludeArray
|
||||
$canIncludeArray[] = array($term)
|
||||
if($term[$i][0] == "!" || $term[$i][0] == "-") {
|
||||
// adds to mustExcludeArray
|
||||
$mustExcludeArray[] = array(substr($term[$i], 1))
|
||||
//echo "test print " substr($term[$i], 1);
|
||||
} else {
|
||||
// adds to canIncludeArray
|
||||
$canIncludeArray[] = array($term)
|
||||
}
|
||||
}
|
||||
}
|
||||
$items = get_items($type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user