Fix the webhook processor (#26055)

This commit is contained in:
Kyle Spier-Swenson
2017-04-10 00:07:03 -07:00
committed by AnturK
parent 88ff3a15d3
commit 2df08d95b1
+2 -1
View File
@@ -255,10 +255,11 @@ function checkchangelog($payload, $merge = false, $compile = true) {
$incltag = true;
$foundcltag = true;
$pos = strpos($line, " ");
if ($pos)
if ($pos) {
$tmp = substr($line, $pos+1);
if (trim($tmp) != 'optional name here')
$username = $tmp;
}
continue;
} else if (substr($line,0,5) == '/:cl:' || substr($line,0,6) == '/ :cl:' || substr($line,0,5) == ':/cl:' || substr($line,0,5) == '/🆑' || substr($line,0,6) == '/ 🆑' ) {
$incltag = false;