Small opcode optimizations

This commit is contained in:
DariusIII
2026-02-24 16:40:26 +01:00
parent 85ea45ad62
commit ec98395cde
29 changed files with 176 additions and 378 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class SearchController extends BasePageController
}
$ordering = $this->releaseBrowseService->getBrowseOrdering();
$orderBy = ($request->has('ob') && \in_array($request->input('ob'), $ordering, false) ? $request->input('ob') : '');
$orderBy = ($request->has('ob') && \in_array($request->input('ob'), $ordering, true) ? $request->input('ob') : '');
$page = $request->has('page') && is_numeric($request->input('page')) ? $request->input('page') : 1;
$offset = ($page - 1) * config('nntmux.items_per_page');