From 20fcff19c63288054253b80ebe99c510990462cb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Sep 2005 15:48:12 +0100 Subject: last minute PG fixes --- backend.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 957347967..d6e9e0989 100644 --- a/backend.php +++ b/backend.php @@ -369,7 +369,8 @@ // printf("%d %s - %d %s
", strtotime($line["last_read"]), $line["last_read"], // strtotime($line["updated"]), $line["updated"]); - if (strtotime($line["last_read"]) < strtotime($line["updated"]) && + if ($line["last_read"] && $line["updated"] && + strtotime($line["last_read"]) < strtotime($line["updated"]) && ($line["unread"] == "f" || $line["unread"] == "0")) { $update_pic = "