Skip to content

Commit

Permalink
Default value to raw key, avoiding warnings if line is false.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Dec 6, 2010
1 parent 97fe32f commit 151ea28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/libs/http_socket.php
Expand Up @@ -303,6 +303,7 @@ public function &request($request = array()) {
return $this->response = false;
}

$this->request['raw'] = '';
if ($this->request['line'] !== false) {
$this->request['raw'] = $this->request['line'];
}
Expand Down

0 comments on commit 151ea28

Please sign in to comment.