db-prefs: properly set DEFAULT_ARTICLE_LIMIT
This commit is contained in:
parent
1ea20897a2
commit
3b5ecd1779
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue