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
1 changed files with 1 additions and 1 deletions

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