This commit is contained in:
BoHung Chiu 2021-10-22 22:11:06 +08:00
parent 3691a14c64
commit 1dca65f863
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class Admin::PropertyHiresController < OrbitAdminController
phire.passed = false
end
phire.save
email = [hire.hiring_person_email].select{|e| e.present?}
email = [phire.hiring_person_email].select{|e| e.present?}
Admin::PropertyHiresHelper::HireMethod.send_mail('p_hire',email,phire.property.id,nil,hire.id,(current_user.id rescue nil))
if params[:ref] == "index"
if params[:page]