Default value to raw key, avoiding warnings if line is false.

This commit is contained in:
Juan Basso 2010-12-06 03:23:09 -02:00
parent 97fe32f87c
commit 151ea2804f

View file

@ -303,6 +303,7 @@ class HttpSocket extends CakeSocket {
return $this->response = false;
}
$this->request['raw'] = '';
if ($this->request['line'] !== false) {
$this->request['raw'] = $this->request['line'];
}