From c4cdb62606555d52afb2e33b5d8ca2ec862a6eca Mon Sep 17 00:00:00 2001 From: sunnyjey <34238611+sunnyjey@users.noreply.github.com> Date: Sun, 28 Feb 2021 11:02:40 +0530 Subject: [PATCH] SEF Redirect URL At present jump URL are non-sef urls which looks NOT good. Placeholders also works with SEF url. --- plugins/fabrik_form/redirect/redirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fabrik_form/redirect/redirect.php b/plugins/fabrik_form/redirect/redirect.php index 9cfcf34b439..61652bd3af7 100644 --- a/plugins/fabrik_form/redirect/redirect.php +++ b/plugins/fabrik_form/redirect/redirect.php @@ -56,7 +56,7 @@ public function onLastProcess() $this->data['append_jump_url'] = $params->get('append_jump_url'); $this->data['save_and_next'] = $params->get('save_and_next', '0'); $this->data['save_in_session'] = $params->get('save_insession'); - $this->data['jump_page'] = $w->parseMessageForPlaceHolder($params->get('jump_page'), $this->data); + $this->data['jump_page'] = $w->parseMessageForPlaceHolder(JRoute::_($params->get('jump_page')), $this->data); $this->data['thanks_message'] = FText::_($w->parseMessageForPlaceHolder($params->get('thanks_message'), $this->data)); if (!$this->shouldRedirect($params))