summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
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"]);