From ecb14114f1dffaea4152577f62d47b4f770e5b9e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 16 Oct 2005 09:29:09 +0100 Subject: fix broken article update functionality --- backend.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'backend.php') 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 = "\"Updated\""; + } */ + + if ($line["last_read"] == "") { + $update_pic = "\"Updated\""; + } else { + $update_pic = "\"Updated\""; } if ($line["unread"] == "t" || $line["unread"] == "1") { -- cgit v1.2.3-54-g00ecf