From 3b5ecd1779b041b1aea79ad00e9906b80b4846be Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 Nov 2010 16:56:48 +0300 Subject: [PATCH] db-prefs: properly set DEFAULT_ARTICLE_LIMIT --- db-prefs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5