mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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);
|
||||
|
||||
$parentKey = array_search($parent, $this->socialActions->toArray());
|
||||
dump($parentKey);
|
||||
|
||||
if (null !== $parentKey) {
|
||||
if (false !== $parentKey) {
|
||||
dump(true);
|
||||
$this->socialActions[$parentKey] = $socialAction;
|
||||
// return $this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user