Skip to content

Commit

Permalink
Update 20220828142008_remove_drupal_gallery_from_node.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren committed Sep 6, 2022
1 parent 5a1374a commit 4204a62
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -13,7 +13,7 @@ def change
end
new_revision.body = gallery_images + new_revision.body
puts "#{new_revision.title} #{new_revision.body}"
new_revision.save! unless new_revision.body.empty? || new_revision.body == ""
new_revision.save! unless new_revision.body.strip.empty? || new_revision.body.strip == ""
end
end
end

0 comments on commit 4204a62

Please sign in to comment.