From: Andrew Dolgov Date: Fri, 5 Nov 2010 13:56:48 +0000 (+0300) Subject: db-prefs: properly set DEFAULT_ARTICLE_LIMIT X-Git-Tag: 1.5.0~399 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3b5ecd1779b041b1aea79ad00e9906b80b4846be;p=tt-rss.git db-prefs: properly set DEFAULT_ARTICLE_LIMIT --- diff --git a/db-prefs.php b/db-prefs.php index bc047851..228fa7ff 100644 --- a/db-prefs.php +++ b/db-prefs.php @@ -116,7 +116,7 @@ $value = sprintf("%d", $value); } - if ($pref_name == 'DEFAULT_ARTICLE_LIMIT' && $value == 0) { + if ($key == 'DEFAULT_ARTICLE_LIMIT' && $value == 0) { $value = 30; }