diff --git a/components/com_fabrik/controllers/form.php b/components/com_fabrik/controllers/form.php index 214875f15a0..b1f2fa366b6 100644 --- a/components/com_fabrik/controllers/form.php +++ b/components/com_fabrik/controllers/form.php @@ -263,22 +263,24 @@ public function process() return; } + $url = $this->getRedirectURL($model); + $msg = $this->getRedirectMessage($model); + /** * If debug submit is requested (&fabrikdebug=2, and J! debug on, and Fabrik debug allowed), * bypass any and all redirects, so we can see the profile for the submit */ - if (FabrikHelperHTML::isDebugSubmit()) { + echo '
' . $msg . '
'; + echo 'Form submission profiling has stopped the automatic redirect.
'; + echo 'continue to redirect URL'; return; } $listModel = $model->getListModel(); $listModel->set('_table', null); - $url = $this->getRedirectURL($model); - $msg = $this->getRedirectMessage($model); - // @todo -should get handed off to the json view to do this if ($input->getInt('fabrik_ajax') == 1) {