This commit is contained in:
Luke Towers 2017-12-12 10:41:12 -06:00 committed by GitHub
parent d0546599d1
commit 587d0d1993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ class FormController extends ControllerBehavior
// Assign the default redirect afterwards to prevent the
// source for the default redirect being default[redirect]
$redirects['default' => $this->getConfig('defaultRedirect', '')];
$redirects['default'] = $this->getConfig('defaultRedirect', '');
if (!isset($redirects[$context])) {
return $redirects['default'];