Fix(Backend): Correct receive_marketing_communications form boolean field output to database.
This commit is contained in:
@@ -130,7 +130,7 @@ class Contact_Form_Temp(db.Model, Base):
|
|||||||
temp.name_contact = contact_form.name_contact
|
temp.name_contact = contact_form.name_contact
|
||||||
temp.name_company = contact_form.name_company
|
temp.name_company = contact_form.name_company
|
||||||
temp.message = contact_form.message
|
temp.message = contact_form.message
|
||||||
temp.receive_marketing_communications
|
temp.receive_marketing_communications = contact_form.receive_marketing_communications
|
||||||
temp.active = contact_form.active
|
temp.active = contact_form.active
|
||||||
temp.created_on = contact_form.created_on
|
temp.created_on = contact_form.created_on
|
||||||
return temp
|
return temp
|
||||||
Reference in New Issue
Block a user