diff options
Diffstat (limited to 'db-prefs.php')
-rw-r--r-- | db-prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db-prefs.php b/db-prefs.php index bc0478512..228fa7ff8 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; } |