From d2b251aea81d847b163511590b79ec1a993d4b75 Mon Sep 17 00:00:00 2001 From: shish Date: Tue, 9 Sep 2008 09:14:52 +0000 Subject: [PATCH] make sure there's something to click on... git-svn-id: file:///home/shish/svn/shimmie2/trunk@1041 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/pm/theme.php | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/pm/theme.php b/contrib/pm/theme.php index a79a3425..aa041e6c 100644 --- a/contrib/pm/theme.php +++ b/contrib/pm/theme.php @@ -6,6 +6,7 @@ class PMTheme extends Themelet { $html .= "SubjectFromDateAction"; foreach($pms as $pm) { $h_subject = html_escape($pm["subject"]); + if(strlen($h_subject) == 0) $h_subject = "(No subject)"; $h_from = html_escape($pm["from_name"]); $from_url = make_link("user/".url_escape($pm["from_name"])); $pm_url = make_link("pm/read/".$pm["id"]);