[#29107] Strict standards and code clean up in com_contact form (Fix #1231)