mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix adding sibling action
This commit is contained in:
parent
a78c62789c
commit
5eea202586
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user