make sure there's something to click on...

git-svn-id: file:///home/shish/svn/shimmie2/trunk@1041 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-09-09 09:14:52 +00:00
parent c52cad5637
commit d2b251aea8

View file

@ -6,6 +6,7 @@ class PMTheme extends Themelet {
$html .= "<tr><th>Subject</th><th>From</th><th>Date</th><th>Action</th></tr>";
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"]);