Fix bug.
This commit is contained in:
parent
3691a14c64
commit
1dca65f863
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue