1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00

Fix SlackRecord normalization of fields, closes #1078

This commit is contained in:
Jordi Boggiano
2018-06-17 18:03:59 +02:00
parent 0d993d84d1
commit 00aca28c8b
2 changed files with 6 additions and 6 deletions

View File

@@ -146,7 +146,7 @@ class SlackRecord
if ($this->useShortAttachment) {
$attachment['fields'][] = $this->generateAttachmentField(
ucfirst($key),
$key,
$record[$key]
);
} else {
@@ -241,7 +241,7 @@ class SlackRecord
: $value;
return array(
'title' => $title,
'title' => ucfirst($title),
'value' => $value,
'short' => false
);