summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/backend.php b/backend.php
index ebbf33a68..719cb1b16 100644
--- a/backend.php
+++ b/backend.php
@@ -593,9 +593,13 @@
if ($entry_author) {
$entry_author = " - by $entry_author";
}
-
- print "<tr><td><a $link_target href=\"" . $line["link"] . "\">" . $line["title"] .
- "</a>$entry_author</td>";
+
+ if ($line["link"]) {
+ print "<tr><td><a $link_target href=\"" . $line["link"] . "\">" .
+ $line["title"] . "</a>$entry_author</td>";
+ } else {
+ print "<tr><td>" . $line["title"] . "$entry_author</td>";
+ }
$parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'),
strtotime($line["updated"]));