-
-
Notifications
You must be signed in to change notification settings - Fork 740
Open
Labels
Description
Describe the bug
In my model i have to use crutch is_string($value), because tapActivity triggers twice:
- from
LogsActivitytrait at line 85 - from
ActivityLoggerclass at line 171
public function tapActivity(Activity $activity, string $eventName): void
{
foreach ($activity->getExtraProperty('attributes', []) as $field => $value) {
if (is_string($value)) {
$activity->properties = $activity->properties->merge([
'attributes' => [
$field => [
'value' => $value,
'reason' => null,
'accepted' => false
]
]
]);
}
}
}amfischer, adrienbrignon, TechDeptLunaSoftwareGroup and Grldk