Correct key name usage in the previous commit

This commit is contained in:
2014-07-20 16:48:47 +06:00
parent 1a1bea527c
commit 77c913c70a

View File

@@ -140,7 +140,7 @@ final class ConduitAPI_differential_getcommitmessage_Method
array("\r\n", "\r"),
array("\n", "\n"),
$value);
if ($key === 'summary') {
if ($key === 'differential:summary') {
$commit_message[] = "{$value}";
} else if (strpos($value, "\n") !== false || substr($value, 0, 2) === ' ') {
$commit_message[] = "{$label}:\n{$value}";