Skip to content

EspoCRM – Open Source CRM Application

stream updated at created related

Yuri Kuznetsov86d4a5f78bd4
diff --git a/application/Espo/Tools/Stream/Service.php b/application/Espo/Tools/Stream/Service.php
index 0b7a9df236..48a85436c8 100644
--- a/application/Espo/Tools/Stream/Service.php
+++ b/application/Espo/Tools/Stream/Service.php
@@ -749,6 +749,12 @@ class Service
}
$this->entityManager->saveEntity($note, $noteOptions);
+
+ $parent = $this->entityManager->getEntityById($parentType, $parentId);
+
+ if ($parent) {
+ $this->updateStreamUpdatedAt($parent);
+ }
}
/**