fixed typos
This commit is contained in:
parent
ec86baae19
commit
b82c2f2b0a
@ -207,13 +207,13 @@ class SearchPage extends Page {
|
||||
|
||||
// version 2
|
||||
$resultExclude = $item->matches($mustExcludeArray)
|
||||
if ($resultExclude) {
|
||||
if($resultExclude) {
|
||||
|
||||
} else {
|
||||
$mustIncludeCheck = False;
|
||||
foreach ($mustIncludeArray as $mustIncludeArgument) {
|
||||
foreach($mustIncludeArray as $mustIncludeArgument) {
|
||||
$resultInclude = $item->matches($mustIncludeArgument)
|
||||
if ($resultInclude) {
|
||||
if($resultInclude) {
|
||||
$mustIncludeCheck = True;
|
||||
} else {
|
||||
$mustIncludeCheck = False;
|
||||
@ -221,7 +221,7 @@ class SearchPage extends Page {
|
||||
}
|
||||
}
|
||||
if ($mustIncludeCheck) {
|
||||
if (count($canIncludeArray) > 0) {
|
||||
if(count($canIncludeArray) > 0) {
|
||||
$canIncludeResult = $item->matches($canIncludeArray)
|
||||
$out[] = array($item, $canIncludeResult);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user