Skip to content
Browse files

undo the change to avoid change in behavior

  • Loading branch information...
1 parent cd99b7d commit 1b3685335521251b3601787f5afea7d542b679bb @dogmatic69 dogmatic69 committed Sep 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Controller/Controller.php
View
2 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.
Something went wrong with that request. Please try again.