Guo Xiang Tan
|
626808e100
|
Fix incorrect condition in groups:grant_badge rake task.
`#find` raises an error if the id given to it is invalid. As a result,
the conditional to check whether a `group` or `badge` is `present?` will
not be executed if any of the ids are invalid.
Follow up to
https://github.com/discourse/discourse/commit/6ba914033cea726ddced866f57115b511fb9ef95.
|
2019-05-09 14:53:13 +08:00 |
|