Skip to content

Commit

Permalink
undo the change to avoid change in behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Sep 21, 2012
1 parent cd99b7d commit 1b36853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Controller.php
Expand Up @@ -454,7 +454,7 @@ public function setRequest(CakeRequest $request) {
$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'])) {
Expand Down

0 comments on commit 1b36853

Please sign in to comment.