Hello. Thanks for the great app. I've used it on many sites but have recently encountered a new problem.
I am using version 2.0.11.
I have deleted the the "thank you message" and added a "redirect on success" URL. However when I send a message the "thank you" page has a blank space at the top where the thank-you message would normally appear. See attached screenshot.
When I look at the profile for the form I note that the input field for the "thank you message" has a blank space added automatically. Even if I delete this space and save the profile it reappears.
It seems that this blank space is being used as a "thank you message" and a list item appears with a value of  .
Am I doing something wrong, or is there a fix available to prevent the thank-you message from adding its own blank space?
Thanks for your help!
Hi,
Thank you for posting that problem here. It will be fixed in the next version.
Until then, if you want to fix the code now you can modify the file "components\com_aicontactsafe\controllers\message.php" and replace the line 75 :
$this->setRedirect($link, $msg, $msgType);
with this lines:
if (strlen($msg) > 2) {
$this->setRedirect($link, $msg, $msgType);
} else {
$this->setRedirect($link);
}
Legenda forum: