From f72b1c271a93bb374e1fd2cdde29f324a5be054f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 May 2018 22:51:24 +0300 Subject: reader: return back to favorites view on exit if called from it --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 281d1e9..12a0a2b 100644 --- a/index.php +++ b/index.php @@ -231,7 +231,7 @@ $is_read = false; if ($line["epub_id"]) { - $read_link = "read.html?" . http_build_query(["id" => $line["epub_id"], "b" => $line["id"]]); + $read_link = "read.html?" . http_build_query(["id" => $line["epub_id"], "rt" => $mode, "b" => $line["id"]]); $lastread_sth = $ldb->prepare("SELECT lastread, total_pages FROM epube_books, epube_pagination WHERE epube_pagination.bookid = epube_books.bookid AND -- cgit v1.2.3