fixing typo
This commit is contained in:
parent
3ec8e9f666
commit
7268b655b1
@ -106,6 +106,7 @@ class SearchPage extends Page {
|
||||
case "!":
|
||||
case "-":
|
||||
$mustExcludeArray[] = array($key, substr($parsedTerm, 1));
|
||||
break;
|
||||
case "~":
|
||||
$canIncludeArray[] = array($key, substr($parsedTerm, 1));
|
||||
break;
|
||||
@ -125,7 +126,6 @@ class SearchPage extends Page {
|
||||
print('<br>');
|
||||
print('<br>');
|
||||
}
|
||||
// print('<br>');
|
||||
}
|
||||
|
||||
$items = get_items($type);
|
||||
@ -133,7 +133,7 @@ class SearchPage extends Page {
|
||||
foreach($items as $item) {
|
||||
|
||||
$mustMatchCheck = array();
|
||||
foreach($mustIncludeArray as $mustIncludeTerm) { // pajar om Arrayen enbart har ett item???
|
||||
foreach($mustIncludeArray as $i => $mustIncludeTerm) { // pajar om Arrayen enbart har ett item???
|
||||
|
||||
// $mustIncludeTermCheck = $item->matches($mustIncludeTerm); // matchar inte korrekt???
|
||||
// if ($mustIncludeTermCheck) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user