Browse Source

stupid logic error in last commit

pull/40/head
Michael Save 12 years ago
parent
commit
499e608a5a
  1. 8
      mod.php

8
mod.php

@ -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>' .
($pm['username'] ?
'<td class="minimal"><a href="?/new_PM/' . $pm['sender'] . '">' . $pm['username'] . '</a></td>'
: '<em>deleted?</em>') .
'<td class="minimal">' .
($pm['username'] ?
'<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>';

Loading…
Cancel
Save