summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2017-09-24 08:07:53 +0900
committerGitHub <noreply@github.com>2017-09-24 08:07:53 +0900
commitbd2b3b852ca4c30db01f78ec5dbe330fd0354181 (patch)
tree1f8e483cb96d9a2ad07efb4a86980a05b281b6d6 /post.php
parenta00c682645265695887088d3a72db5b965ffb1cf (diff)
parent6f905fca2c755c01e06c587993a65ab5698717e8 (diff)
Merge pull request #130 from sichan/master
Update post.php
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index e6310e16..02850d4d 100644
--- a/post.php
+++ b/post.php
@@ -332,7 +332,7 @@ if (isset($_POST['delete'])) {
if ($config['syslog'])
_syslog(LOG_INFO, 'Reported post: ' .
- '/' . $board['dir'] . $config['dir']['res'] . link_for($post) . ($thread['thread'] ? '#' . $id : '') .
+ '/' . $board['dir'] . $config['dir']['res'] . link_for($thread) . ($thread['thread'] ? '#' . $id : '') .
' for "' . $reason . '"'
);
$query = prepare("INSERT INTO ``reports`` VALUES (NULL, :time, :ip, :board, :post, :reason)");