Skip to content
Snippets Groups Projects
Commit 15e79cf0 authored by Laurent Destailleur's avatar Laurent Destailleur Committed by GitHub
Browse files

Merge pull request #5411 from atm-alexis/FIX_develop_compatibility

FIX old method add have to return create method result
parents 5713d293 a55a166d
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