diff --git a/lib/discourse_tagging.rb b/lib/discourse_tagging.rb index d595ac2a86c..4d15f60612c 100644 --- a/lib/discourse_tagging.rb +++ b/lib/discourse_tagging.rb @@ -4,7 +4,7 @@ module DiscourseTagging TAGS_FILTER_REGEXP = /[\/\?#\[\]@!\$&'\(\)\*\+,;=\.%\\`^\s|\{\}"<>]+/ # /?#[]@!$&'()*+,;=.%\`^|{}"<> - def self.tag_topic_by_names(topic, guardian, tag_names_arg, append=false) + def self.tag_topic_by_names(topic, guardian, tag_names_arg, append: false) if SiteSetting.tagging_enabled tag_names = DiscourseTagging.tags_for_saving(tag_names_arg, guardian) || [] diff --git a/lib/topics_bulk_action.rb b/lib/topics_bulk_action.rb index 4df73ff29c3..aa7d3acffb0 100644 --- a/lib/topics_bulk_action.rb +++ b/lib/topics_bulk_action.rb @@ -153,7 +153,7 @@ class TopicsBulkAction topics.each do |t| if guardian.can_edit?(t) if tags.present? - DiscourseTagging.tag_topic_by_names(t, guardian, tags, append=true) + DiscourseTagging.tag_topic_by_names(t, guardian, tags, append: true) end @changed_ids << t.id end