summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-08-03 12:32:30 +0400
committerAndrew Dolgov <[email protected]>2011-08-03 12:32:30 +0400
commitf7cffd2cfdf6393243ced4b9a19bd93529f3b1f2 (patch)
tree6887663f67757b6d63189c8731996dd2440b3bc1 /backend.php
parent68a57364f4928bcd614231be4176524f4d7ea155 (diff)
view: fix article not being marked as read when not requested from client cache
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index 299038434..d2c68a64f 100644
--- a/backend.php
+++ b/backend.php
@@ -227,10 +227,10 @@
$article = format_article($link, $id, false);
print $article['content'];
return;
- } else {
- catchupArticleById($link, $id, 0);
}
+ catchupArticleById($link, $id, 0);
+
if (!$_SESSION["bw_limit"]) {
foreach ($cids as $cid) {
if ($cid) {