Skip to content

Commit f8b92cc

Browse files
author
Dean Sofer
committed
Merge pull request #3 from destinydriven/master
$this->params() has been replaced in Cake 2.* CakeRequest is now used to access same
2 parents 2b22e70 + fbbcd84 commit f8b92cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/Component/WizardComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ function redirect($step = null, $status = null, $exit = true) {
357357
if ($step == null) {
358358
$step = $this->_getExpectedStep();
359359
}
360-
$url = array('controller' => $this->controller->params['controller'], 'action' => $this->action, $step);
360+
$url = array('controller' => $this->controller->request->controller, 'action' => $this->action, $step);
361361
$this->controller->redirect($url, $status, $exit);
362362
}
363363
/**

0 commit comments

Comments
 (0)