summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-04 12:12:31 +0300
committerAndrew Dolgov <[email protected]>2010-01-04 12:12:31 +0300
commit6f068202d7e472be431ddde436e4623a6a6d20b9 (patch)
treedef3bc900dae12a7c409783b80c9c57703802d0c /backend.php
parent938052bac8c59922706cc026ddb9644dc59b2646 (diff)
rework the way DEFAULT_ARTICLE_LIMIT works, remove limit toolbar dropdown (bump schema)
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 e1cc82a12..f1b9cd343 100644
--- a/backend.php
+++ b/backend.php
@@ -264,7 +264,7 @@
$feed = db_escape_string($_REQUEST["feed"]);
$subop = db_escape_string($_REQUEST["subop"]);
$view_mode = db_escape_string($_REQUEST["view_mode"]);
- $limit = db_escape_string($_REQUEST["limit"]);
+ $limit = (int) get_pref($link, "DEFAULT_ARTICLE_LIMIT");
$cat_view = db_escape_string($_REQUEST["cat"]);
$next_unread_feed = db_escape_string($_REQUEST["nuf"]);
$offset = db_escape_string($_REQUEST["skip"]);