Skip to content
Snippets Groups Projects
Commit a55a166d authored by Alexis Algoud's avatar Alexis Algoud
Browse files

FIX old method add have to return create method result for backward compatibility

parent 5f5328c3
No related branches found
No related tags found
No related merge requests found
......@@ -406,7 +406,7 @@ class ActionComm extends CommonObject
*/
public function add(User $user, $notrigger = 0)
{
$this->create($user, $notrigger);
return $this->create($user, $notrigger);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment