about summary refs log tree commit diff stats
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2018-06-29 18:34:53 +0300
committerAndrew Dolgov <noreply@fakecake.org>2018-06-29 18:34:53 +0300
commitbb6cfa1b5b285d592ebd8d8cc7dde48849c6659c (patch)
tree661f969369901143ac7348eb106bf6543a0e93c5 /backend.php
parent90f84b529554d3f41cc710868fc43954dafaf7eb (diff)
downloadthe-epube-bb6cfa1b5b285d592ebd8d8cc7dde48849c6659c.tar.gz
the-epube-bb6cfa1b5b285d592ebd8d8cc7dde48849c6659c.tar.xz
since pages are percentages now, relax restrictions in storelastrad
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index a749f60..607f923 100644
--- a/backend.php
+++ b/backend.php
@@ -217,7 +217,7 @@
 				$id = $line["id"];
 				$lastread = (int) $line["lastread"];
 
-				if ($lastread < $page || $page == -1) {
+				if ($lastread <= $page || $page == -1) {
 
 					if ($page == -1) $page = 0;