FIX old method add have to return create method result for backward compatibility
This commit is contained in:
parent
5f5328c3d8
commit
a55a166df3
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ class ActionComm extends CommonObject
|
|||
*/
|
||||
public function add(User $user, $notrigger = 0)
|
||||
{
|
||||
$this->create($user, $notrigger);
|
||||
return $this->create($user, $notrigger);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue