stupid logic error in last commit

This commit is contained in:
Michael Save 2012-01-07 15:51:35 +11:00
parent 0a86580d17
commit 499e608a5a

View File

@ -729,9 +729,11 @@
while($pm = $query->fetch()) {
$body .= '<tr' . ($pm['unread'] ? ' style="font-weight:bold"' : '') . '>' .
'<td class="minimal"><a href="?/PM/' . $pm['id'] . '">' . $pm['id'] . '</a></td>' .
'<td class="minimal">' .
($pm['username'] ?
'<td class="minimal"><a href="?/new_PM/' . $pm['sender'] . '">' . $pm['username'] . '</a></td>'
'<a href="?/new_PM/' . $pm['sender'] . '">' . $pm['username'] . '</a>'
: '<em>deleted?</em>') .
'</td>' .
'<td class="minimal">' . strftime($config['post_date'], $pm['time']) . '</td>' .
'<td><a href="?/PM/' . $pm['id'] . '">' . pm_snippet($pm['message']) . '</a></td>' .
'</tr>';