From efae0e576e58d1127ab31a72952ae4e3d88a910b Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Fri, 7 Jul 2017 06:46:26 -0500 Subject: [PATCH] Allows [s] to be used anywhere in the title (#1923) --- tools/github_webhook_processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/github_webhook_processor.php b/tools/github_webhook_processor.php index 50fe614937..63464d8088 100644 --- a/tools/github_webhook_processor.php +++ b/tools/github_webhook_processor.php @@ -212,7 +212,7 @@ function handle_pr($payload) { return; } - if (strtolower(substr($payload['pull_request']['title'], 0, 3)) == '[s]') { + if (strpos(strtolower($payload['pull_request']['title']), '[s]') !== false) { echo "PR Announcement Halted; Secret tag detected.\n"; return; }