Skip to content

Commit

Permalink
FIX old method add have to return create method result for backward c…
Browse files Browse the repository at this point in the history
…ompatibility
  • Loading branch information
Alexis Algoud committed Jun 29, 2016
1 parent 5f5328c commit a55a166
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 a55a166

Please sign in to comment.