From 5af60d1e3324cf4c5d12a39b130de6343ed53382 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Sat, 24 Sep 2016 12:52:08 +0900 Subject: [PATCH] Remove leading space from ReportNotifier Slack Message --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 045bec45..718b2833 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 = ' <' .$config['domain'] . "/mod.php?/" . $board['dir'] . $config['dir']['res'] . ( $thread['thread'] ? $thread['thread'] : $id ) . ".html" . ($thread['thread'] ? '#' . $id : '') . '> \n ' . $reason. '\n ' . $postcontent . '\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']); }