Added missing return statement.
@@ -597,6 +597,7 @@ class CakeResponse {
return isset($headers['Location']) ? $headers['Location'] : null;
}
$this->header('Location', $url);
+ return null;
/**