1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-07 18:51:33 +00:00

fix broken article update functionality

This commit is contained in:
Andrew Dolgov
2005-10-16 09:29:09 +01:00
parent e212e483ec
commit ecb14114f1
2 changed files with 20 additions and 9 deletions

View File

@@ -597,7 +597,7 @@
// strtotime($line["updated"]), $line["updated"],
// strtotime($line["last_read"]) >= strtotime($line["updated"]));
if ($line["last_read"] != "" && $line["updated"] != "" &&
/* if ($line["last_read"] != "" && $line["updated"] != "" &&
strtotime($line["last_read_noms"]) < strtotime($line["updated_noms"])) {
$update_pic = "<img id='FUPDPIC-$id' src=\"images/updated.png\"
@@ -608,6 +608,14 @@
$update_pic = "<img id='FUPDPIC-$id' src=\"images/blank_icon.gif\"
alt=\"Updated\">";
} */
if ($line["last_read"] == "") {
$update_pic = "<img id='FUPDPIC-$id' src=\"images/updated.png\"
alt=\"Updated\">";
} else {
$update_pic = "<img id='FUPDPIC-$id' src=\"images/blank_icon.gif\"
alt=\"Updated\">";
}
if ($line["unread"] == "t" || $line["unread"] == "1") {