1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +01:00

fixed modlog

This commit is contained in:
Michael Save 2012-04-12 23:29:47 +10:00
parent ef6f5a2e48
commit 1b6fb48fa3

View File

@ -450,9 +450,7 @@ if(!$mod) {
'<td class="minimal">' . ago($log['time']) . '</td>' .
'<td class="minimal">' .
($log['board'] ?
(isset($boards[$log['board']]) ?
'<a href="?/' . sprintf($config['board_path'], $boards[$log['board']]) . $config['file_index'] . '">' . sprintf($config['board_abbreviation'], $boards[$log['board']]) . '</a></td>'
: '<em>deleted?</em>')
'<a href="?/' . sprintf($config['board_path'], $log['board']) . $config['file_index'] . '">' . sprintf($config['board_abbreviation'], $$log['board']) . '</a></td>'
: '-') .
'<td>' . $log['text'] . '</td>' .
'</tr>';