db-prefs: properly set DEFAULT_ARTICLE_LIMIT

master
Andrew Dolgov 14 years ago
parent 1ea20897a2
commit 3b5ecd1779

@ -116,7 +116,7 @@
$value = sprintf("%d", $value); $value = sprintf("%d", $value);
} }
if ($pref_name == 'DEFAULT_ARTICLE_LIMIT' && $value == 0) { if ($key == 'DEFAULT_ARTICLE_LIMIT' && $value == 0) {
$value = 30; $value = 30;
} }

Loading…
Cancel
Save