summaryrefslogtreecommitdiff
path: root/db-prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-05 16:56:48 +0300
committerAndrew Dolgov <[email protected]>2010-11-05 16:56:48 +0300
commit3b5ecd1779b041b1aea79ad00e9906b80b4846be (patch)
treeb31236ed84139159ebda3f49e7b479d841dbc9a2 /db-prefs.php
parent1ea20897a2f2fdfaf8ec2725771d2ff7c8bf27a7 (diff)
db-prefs: properly set DEFAULT_ARTICLE_LIMIT
Diffstat (limited to 'db-prefs.php')
-rw-r--r--db-prefs.php2
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;
}