davez
Member
Hi,
Just been trying to get the redirect plugin to work on one site. It's all updated. What was weird is that it worked in Chrome, but not in Firefox.
I made one change to this file and now it works in both.
/public_html/plugins/fabrik_form/redirect/redirect.php
changed to
It was selecting the first message in the array which was the default system message. By adding the [$this->renderOrder], it selected the second one in the array.
Just been trying to get the redirect plugin to work on one site. It's all updated. What was weird is that it worked in Chrome, but not in Firefox.
I made one change to this file and now it works in both.
/public_html/plugins/fabrik_form/redirect/redirect.php
Code:
// Don't display system message if thanks is empty
if (FArrayHelper::getValue($this->data, 'thanks_message', '') !== '')
{
$this->session->set($context . 'msg', $smsg);
}
Code:
// Don't display system message if thanks is empty
if (FArrayHelper::getValue($this->data, 'thanks_message', '') !== '')
{
$this->session->set($context . 'msg', $smsg[$this->renderOrder]);
}