Skip to content
Browse files

Fixed bug #4573

  • Loading branch information...
1 parent 44fcb1b commit c30febdc9cc9a7b66cbe5168d2f5b8f50af57bbd @AlexC AlexC committed Jul 26, 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))
{
@@ -929,4 +929,4 @@ protected function _send_headers_to_php(array $headers, $replace)
return $this;
}
-} // End Kohana_HTTP_Header
+} // End Kohana_HTTP_Header

0 comments on commit c30febd

Please sign in to comment.
Something went wrong with that request. Please try again.