diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index d71762b2ac4..5dc17100c37 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -124,7 +124,7 @@ class Admin::UsersController < Admin::AdminController end @user.logged_out - if message && !message.empty? + if message.present? Jobs.enqueue( :critical_user_email, type: :account_suspended,