summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-19 05:41:22 +0100
committerAndrew Dolgov <[email protected]>2006-09-19 05:41:22 +0100
commit31d1b6cfc3ed338834720edc953dc9fd75a9a407 (patch)
treecbbc66431c6a548f8237f81885ea2f8e46d36f72 /mobile
parent244346e9436bb564abaf968c1579df6d634597ea (diff)
mobile: fix feed id handling bug in view mode
Diffstat (limited to 'mobile')
-rw-r--r--mobile/functions.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mobile/functions.php b/mobile/functions.php
index ff5610019..1d50767e4 100644
--- a/mobile/functions.php
+++ b/mobile/functions.php
@@ -630,7 +630,7 @@
$marked_pic = "<img class='marked' src=\"../images/mark_unset.png\">";
}
- $content_link = "<a href=\"?go=view&id=$id&feed=$feed\">" .
+ $content_link = "<a href=\"?go=view&id=$id&ret_feed=$feed&feed=$feed_id\">" .
$line["title"] . "</a>";
if (get_pref($link, 'HEADLINES_SMART_DATE')) {
@@ -678,6 +678,7 @@
$id = db_escape_string($_GET["id"]);
$feed_id = db_escape_string($_GET["feed"]);
+ $ret_feed_id = db_escape_string($_GET["ret_feed"]);
$result = db_query($link, "SELECT rtl_content FROM ttrss_feeds
WHERE id = '$feed_id' AND owner_uid = " . $_SESSION["uid"]);
@@ -755,7 +756,7 @@
# print "<img class=\"feedIcon\" src=\"../icons/$feed_id.ico\">";
# }
- $feed_link = "<a href=\"tt-rss.php?go=vf&id=$feed_id\">Feed</a>";
+ $feed_link = "<a href=\"tt-rss.php?go=vf&id=$ret_feed_id\">Feed</a>";
print "<a href=\"" . $line["link"] . "\">" .
truncate_string($line["title"], 30) . "</a>";