diff options
author | Andrew Dolgov <[email protected]> | 2017-02-26 16:56:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-02-26 16:56:05 +0300 |
commit | 2b834146b03f24bef8f075af7321bf646a9090b1 (patch) | |
tree | bf2f439f0800efd39ebef2967911439f9e4faa2e | |
parent | 98ce5e836a554ec8bd3a2605202f85afc86d5e2e (diff) |
do not warn on missing search query/offset (2)
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ <body> <?php - $query = @$_REQUEST["query"]; + @$query = $_REQUEST["query"]; ?> <div class="navbar navbar-default navbar-static-top"> @@ -114,7 +114,7 @@ } $limit = 60; - $offset = (int) $_REQUEST["offset"]; + @$offset = (int) $_REQUEST["offset"]; $order_by = $query ? "author_sort, series_name, series_index, title, books.id" : "books.id DESC"; |