Skip to content

Commit

Permalink
Merge pull request #5411 from atm-alexis/FIX_develop_compatibility
Browse files Browse the repository at this point in the history
FIX old method add have to return create method result
  • Loading branch information
eldy committed Jul 1, 2016
2 parents 5713d29 + a55a166 commit 15e79cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/comm/action/class/actioncomm.class.php
Expand Up @@ -406,7 +406,7 @@ public function create(User $user, $notrigger = 0)
*/
public function add(User $user, $notrigger = 0)
{
$this->create($user, $notrigger);
return $this->create($user, $notrigger);
}

/**
Expand Down

0 comments on commit 15e79cf

Please sign in to comment.