Using the `/close` quick action with "comment & close" shows issue closed twice

Summary

Screenshot of said information in issue activity, happened here. GitLab_slashclose-closed-twice

Steps to Reproduce

  • Create a new issue
  • Write a slash command to a comment to close off the issue
  • Submit the above comment using "Comment & close issue"

Expected Results

  • Only one system note for issue closure created

Actual Results

  • Two system notes for issue closure are created Screen_Shot_2017-03-20_at_17.33.16

  • Along with two events Screen_Shot_2017-03-20_at_17.34.39

Additional Information

Edited by Rémy Coutable