Fix caching string

This commit is contained in:
DariusIII
2018-04-16 09:17:14 +02:00
parent e06674e7f7
commit eb33d2c584
2 changed files with 8 additions and 10 deletions
-1
View File
@@ -32,7 +32,6 @@ class BooksController extends BasePageController
$this->smarty->assign('catlist', $btmp);
$this->smarty->assign('category', $category);
$offset = ($request->has('offset') && ctype_digit($request->input('offset'))) ? $request->input('offset') : 0;
$ordering = $book->getBookOrdering();
$orderby = $request->has('ob') && \in_array($request->input('ob'), $ordering, false) ? $request->input('ob') : '';