summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-06-03 22:42:42 +0400
committerAndrew Dolgov <[email protected]>2012-06-03 22:42:42 +0400
commit705b97b7fca9ea70820af5fcd926f88903eaa430 (patch)
tree24db0823beb55c4e4cab36a00441f6e0153b8b7d /include
parent184f51952c2c0bdcafab9d22a9367facbea28376 (diff)
revert to previous catchup behaviour on reverse headlines mode; fix typo in js
Diffstat (limited to 'include')
-rw-r--r--include/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 346396ed6..918192cd3 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1326,7 +1326,8 @@
//if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
- $ref_check_qpart = ($max_id) ? "ref_id <= '$max_id'" : "true";
+ $ref_check_qpart = ($max_id &&
+ !get_pref($link, 'REVERSE_HEADLINES')) ? "ref_id <= '$max_id'" : "true";
if (is_numeric($feed)) {
if ($cat_view) {