mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 20:39:40 +00:00
fix adding sibling action
This commit is contained in:
@@ -237,8 +237,9 @@ class Activity implements AccompanyingPeriodLinkedWithSocialIssuesEntityInterfac
|
|||||||
dump($parent);
|
dump($parent);
|
||||||
|
|
||||||
$parentKey = array_search($parent, $this->socialActions->toArray());
|
$parentKey = array_search($parent, $this->socialActions->toArray());
|
||||||
|
dump($parentKey);
|
||||||
|
|
||||||
if (null !== $parentKey) {
|
if (false !== $parentKey) {
|
||||||
dump(true);
|
dump(true);
|
||||||
$this->socialActions[$parentKey] = $socialAction;
|
$this->socialActions[$parentKey] = $socialAction;
|
||||||
// return $this;
|
// return $this;
|
||||||
|
Reference in New Issue
Block a user