1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 20:11:28 +00:00

rework the way DEFAULT_ARTICLE_LIMIT works, remove limit toolbar dropdown (bump schema)

This commit is contained in:
Andrew Dolgov
2010-01-04 12:12:31 +03:00
parent 938052bac8
commit 6f068202d7
10 changed files with 41 additions and 45 deletions

View File

@@ -105,6 +105,10 @@
// print "$pref_name : $type_name : $value<br>";
if ($pref_name == 'DEFAULT_ARTICLE_LIMIT' && $value == 0) {
$value = 30;
}
db_query($link, "UPDATE ttrss_user_prefs SET value = '$value'
WHERE pref_name = '$pref_name' AND owner_uid = ".$_SESSION["uid"]);