Browse files

Merge pull request #281 from AlexC/bug-4573

Fixed bug #4573
  • Loading branch information...
2 parents 94d135c + c30febd commit 310cb52600b648e90ae8389d6af602b0bb2c2096 @Zeelot Zeelot committed Aug 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/kohana/http/header.php
View
4 classes/kohana/http/header.php
@@ -346,7 +346,7 @@ public function offsetSet($index, $newval, $replace = TRUE)
{
// Ensure the index is lowercase
$index = strtolower($index);
- $newval = (string) $newval;
+ $newval = $newval;
if ($replace OR ! $this->offsetExists($index))
{
@@ -949,4 +949,4 @@ protected function _send_headers_to_php(array $headers, $replace)
return $this;
}
-} // End Kohana_HTTP_Header
+} // End Kohana_HTTP_Header

0 comments on commit 310cb52

Please sign in to comment.