]> git.wh0rd.org Git - tt-rss.git/commitdiff
db-prefs: properly set DEFAULT_ARTICLE_LIMIT
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 5 Nov 2010 13:56:48 +0000 (16:56 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 5 Nov 2010 13:56:48 +0000 (16:56 +0300)
db-prefs.php

index bc047851259d3fb0f5b463b766c1875b64105cae..228fa7ff8784f5a563e13359c0505c3129e1799e 100644 (file)
                                $value = sprintf("%d", $value);
                        }
 
-                       if ($pref_name == 'DEFAULT_ARTICLE_LIMIT' && $value == 0) {
+                       if ($key == 'DEFAULT_ARTICLE_LIMIT' && $value == 0) {
                                $value = 30;
                        }