diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-31 22:53:01 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:16 -0500 |
commit | be6a33effdaf3050bba4b00b8169eb592b4db29f (patch) | |
tree | cc2708ab6ceef8330d8c92450706c0aa637979ca /app/lib | |
parent | 52b500e482180b20bb988c09c07c39a492512c31 (diff) |
[Bug, Command Tags] Remove stray ?
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/command_tag/command/parent_status_tools.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/command_tag/command/parent_status_tools.rb b/app/lib/command_tag/command/parent_status_tools.rb index 5f127b2da..e037c7023 100644 --- a/app/lib/command_tag/command/parent_status_tools.rb +++ b/app/lib/command_tag/command/parent_status_tools.rb @@ -2,7 +2,7 @@ module CommandTag::Command::ParentStatusTools def handle_publish_once_at_end(_) is_blank = status_text_blank? - @status.published = true if @parent.blank? || !is_blank? + @status.published = true if @parent.blank? || !is_blank return unless is_blank && author_of_parent? && !@parent.published? PublishStatusService.new.call(@parent) |