summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-26 16:56:05 +0300
committerAndrew Dolgov <[email protected]>2017-02-26 16:56:05 +0300
commit2b834146b03f24bef8f075af7321bf646a9090b1 (patch)
treebf2f439f0800efd39ebef2967911439f9e4faa2e /index.php
parent98ce5e836a554ec8bd3a2605202f85afc86d5e2e (diff)
do not warn on missing search query/offset (2)
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 9278b60..53a01b5 100644
--- a/index.php
+++ b/index.php
@@ -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";