You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$mail->setText(strip_tags($this->request->post['enquiry']));
public function setText($text) {
$this->text= html_entity_decode($text, ENT_QUOTES, 'UTF-8');
}
should be
$mail->setText($this->request->post['enquiry']);
public function setText($text) {
$this->text= strip_tags(html_entity_decode($text, ENT_QUOTES, 'UTF-8'));
}
The text was updated successfully, but these errors were encountered:
controller/information/contact.php + library/mail.php
now
should be
The text was updated successfully, but these errors were encountered: