Skip to content

Commit

Permalink
fix assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ctippler committed Sep 13, 2023
1 parent 203d76c commit b722398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/MonitoringItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public function setValues($data = [], bool $ignoreEmptyValues = false): static
{
if (is_array($data) && $data !== []) {
foreach ($data as $key => $value) {
if (in_array($key, ['callbackSettings', 'actions', 'loggers']) && is_string($value)) {
if (in_array($key, ['callbackSettings', 'actions', 'loggers','metaData']) && is_string($value)) {
$value = json_decode($value, true);
}
if ($key == 'message') {
Expand Down

0 comments on commit b722398

Please sign in to comment.