diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2016-09-23 23:05:04 +0900 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2016-09-23 23:05:04 +0900 |
| commit | 59cc269cd70147a738318cc50da0b9d4691b6ce3 (patch) | |
| tree | d637f90ce5454939f7144155346fcd9c680f7a78 | |
| parent | 5d08f0f04807cb0b88177d74da25d1242765868f (diff) | |
Change ReportNotifier SlackMessage format
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']); } |
