Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Replaces line 308 in core/components/formit/model/formit/fihooks.class.php
if (!is_numeric($this->formit->config['redirectTo']) &&
isset($fields[$this->formit->config['redirectTo']]) &&
) {
$url = $this->modx->makeUrl($fields[$this->formit->config['redirectTo']],$contextKey,$redirectParams,'full');
} else {
$url = $this->modx->makeUrl($this->formit->config['redirectTo'],$contextKey,$redirectParams,'full');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.