mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 12:02:41 +00:00
undo the change to avoid change in behavior
This commit is contained in:
parent
cd99b7d6ff
commit
1b36853355
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ class Controller extends Object implements CakeEventListener {
|
|||
$this->passedArgs = array_merge($request->params['pass'], $request->params['named']);
|
||||
}
|
||||
|
||||
if (!empty($request->params['return']) && $request->params['return']) {
|
||||
if (!empty($request->params['return']) && $request->params['return'] == 1) {
|
||||
$this->autoRender = false;
|
||||
}
|
||||
if (!empty($request->params['bare'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue