summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-13 20:50:05 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-13 20:50:05 +1000
commitde953aa37acebfc7a2119ff65359fdc70cb03d19 (patch)
treeb2fc2aa8cd59a8f7ea1d6abafa707aaaddf684a7 /mod.php
parentb3c6e5ec1af92a87bcb22bfd6080404fe8125c92 (diff)
Bugfix: warning on report queue
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod.php b/mod.php
index b22fddbb..f5332175 100644
--- a/mod.php
+++ b/mod.php
@@ -1554,7 +1554,7 @@ if(!$mod) {
}
$reports++;
- openBoard($report['uri']);
+ openBoard($report['board']);
if(!$post['thread']) {
$po = new Thread($post['id'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['capcode'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $post['sticky'], $post['locked'], $post['sage'], $post['embed'], '?/', $mod, false);
@@ -1565,7 +1565,7 @@ if(!$mod) {
$append_html =
'<div class="report">' .
'<hr/>' .
- 'Board: <a href="?/' . $report['uri'] . '/' . $config['file_index'] . '">' . sprintf($config['board_abbreviation'], $report['uri']) . '</a><br/>' .
+ 'Board: <a href="?/' . $report['board'] . '/' . $config['file_index'] . '">' . sprintf($config['board_abbreviation'], $report['board']) . '</a><br/>' .
'Reason: ' . $report['reason'] . '<br/>' .
'Report date: ' . strftime($config['post_date'], $report['time']) . '<br/>' .
(hasPermission($config['mod']['show_ip']) ?