1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:05:56 +00:00

db-prefs: properly set DEFAULT_ARTICLE_LIMIT

This commit is contained in:
Andrew Dolgov
2010-11-05 16:56:48 +03:00
parent 1ea20897a2
commit 3b5ecd1779

View File

@@ -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;
}