diff options
author | Andrew Dolgov <[email protected]> | 2005-10-16 09:29:09 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-10-16 09:29:09 +0100 |
commit | ecb14114f1dffaea4152577f62d47b4f770e5b9e (patch) | |
tree | 90b70a6c468cbdfb4da875ba61e7b8de1a9bad1f /backend.php | |
parent | e212e483ec21175a4d20f20b3456334df9e3566f (diff) |
fix broken article update functionality
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/backend.php b/backend.php index 88fcdc6bc..730d17935 100644 --- a/backend.php +++ b/backend.php @@ -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") { |