summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-12 23:29:47 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-12 23:29:47 +1000
commit711e818ad60ac18d47f650ea40c1996eb3205c7a (patch)
tree735138364f1bb896338b4a6653fd02f1039a0f36 /mod.php
parent95709e7588b9fb5a2e43049e0157cedc254b2536 (diff)
fixed modlog
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/mod.php b/mod.php
index dfc6a850..3e7a3265 100644
--- a/mod.php
+++ b/mod.php
@@ -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>';