Typo fix
This commit is contained in:
parent
d0546599d1
commit
587d0d1993
|
|
@ -487,7 +487,7 @@ class FormController extends ControllerBehavior
|
||||||
|
|
||||||
// Assign the default redirect afterwards to prevent the
|
// Assign the default redirect afterwards to prevent the
|
||||||
// source for the default redirect being default[redirect]
|
// source for the default redirect being default[redirect]
|
||||||
$redirects['default' => $this->getConfig('defaultRedirect', '')];
|
$redirects['default'] = $this->getConfig('defaultRedirect', '');
|
||||||
|
|
||||||
if (!isset($redirects[$context])) {
|
if (!isset($redirects[$context])) {
|
||||||
return $redirects['default'];
|
return $redirects['default'];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue