summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2016-09-23 23:05:04 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2016-09-23 23:05:04 +0900
commit59cc269cd70147a738318cc50da0b9d4691b6ce3 (patch)
treed637f90ce5454939f7144155346fcd9c680f7a78 /post.php
parent5d08f0f04807cb0b88177d74da25d1242765868f (diff)
Change ReportNotifier SlackMessage format
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 f2ed509f..045bec45 100644
--- a/post.php
+++ b/post.php
@@ -185,7 +185,7 @@ if (isset($_POST['delete'])) {
}
$postcontent = mb_substr($thread['body_nomarkup'], 0, 120) . '... _*(POST TRIMMED)*_';
- $slackmessage = 'Post: <' .$config['domain'] . "/mod.php?/" . $board['dir'] . $config['dir']['res'] . ( $thread['thread'] ? $thread['thread'] : $id ) . ".html" . ($thread['thread'] ? '#' . $id : '') . '> \n Post Content: ' . $postcontent . '\n Reason: ' . $reason . '\n';
+ $slackmessage = ' <' .$config['domain'] . "/mod.php?/" . $board['dir'] . $config['dir']['res'] . ( $thread['thread'] ? $thread['thread'] : $id ) . ".html" . ($thread['thread'] ? '#' . $id : '') . '> \n ' . $reason. '\n ' . $postcontent . '\n';
$slackresult = slack($slackmessage, $config['slack_channel']);
}