fixed toolbar feed update button
This commit is contained in:
parent
033e47e09b
commit
dcee8f6125
11
backend.php
11
backend.php
|
@ -459,6 +459,17 @@
|
||||||
</head><body>";
|
</head><body>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($subop == "ForceUpdate" && sprintf("%d", $feed) > 0) {
|
||||||
|
|
||||||
|
$tmp_result = db_query($link, "SELECT feed_url FROM ttrss_feeds
|
||||||
|
WHERE id = '$feed'");
|
||||||
|
|
||||||
|
$feed_url = db_fetch_result($tmp_result, 0, "feed_url");
|
||||||
|
|
||||||
|
update_rss_feed($link, $feed_url, $feed);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if ($subop == "MarkAllRead") {
|
if ($subop == "MarkAllRead") {
|
||||||
|
|
||||||
if (sprintf("%d", $feed) != 0) {
|
if (sprintf("%d", $feed) != 0) {
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
db_query($link, "BEGIN");
|
db_query($link, "BEGIN");
|
||||||
|
|
||||||
$feed = db_escape_string($feed);
|
$feed = db_escape_string($feed);
|
||||||
|
|
||||||
if ($rss) {
|
if ($rss) {
|
||||||
|
|
||||||
if (ENABLE_FEED_ICONS) {
|
if (ENABLE_FEED_ICONS) {
|
||||||
|
|
Loading…
Reference in New Issue