summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-07 15:48:12 +0100
committerAndrew Dolgov <[email protected]>2005-09-07 15:48:12 +0100
commit20fcff19c63288054253b80ebe99c510990462cb (patch)
treee0b9b43e8a08c27ca5b09a7d7c31f767a7cf8fbe /backend.php
parent763f2268984bd7e1d9ed962e7756f420304f7d5a (diff)
last minute PG fixes
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php3
1 files changed, 2 insertions, 1 deletions
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<br>", 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 = "<img id='FUPDPIC-$id' src=\"images/updated.png\"