diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-01-07 15:51:35 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-01-07 15:51:35 +1100 |
| commit | 499e608a5afeb3189ab028b3c81b7f06df53ca75 (patch) | |
| tree | b972628702faff5066ca2ffc2f0b2a116a0f5487 /mod.php | |
| parent | 0a86580d17fb5fb67d31b7db2717b87952847333 (diff) | |
stupid logic error in last commit
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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>'; |
