Skip to content
Permalink
Browse files

undo the change to avoid change in behavior

  • Loading branch information...
dogmatic69 committed Sep 21, 2012
1 parent cd99b7d commit 1b3685335521251b3601787f5afea7d542b679bb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Controller/Controller.php
@@ -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'])) {

0 comments on commit 1b36853

Please sign in to comment.
You can’t perform that action at this time.