Skip to content

Commit

Permalink
Merge pull request #284 from samuelet/bot/autofix
Browse files Browse the repository at this point in the history
🤖 Automatic code style fixes
  • Loading branch information
Klap-in authored Jan 4, 2024
2 parents dcc823f + fe714cf commit 69c3b92
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,11 +669,9 @@ public function customSearch(&$data, $base, $func, $opts, $dir = '', $lvl = 1)
if (!$lastItem['hns']) {
array_pop($data);
}
} else {
} elseif (!$this->nsort) {
//add files to index
if(!$this->nsort) {
$data = array_merge($data, $files_tmp);
}
$data = array_merge($data, $files_tmp);
}
}

Expand Down

0 comments on commit 69c3b92

Please sign in to comment.