From: Evan Prodromou Date: Thu, 22 Oct 2009 20:20:56 +0000 (-0400) Subject: HTTPResponse has default empty headers X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=65c45986c68709f6e8e981381c35ee1a2468544a;p=quix0rs-gnu-social.git HTTPResponse has default empty headers --- diff --git a/lib/httpclient.php b/lib/httpclient.php index c8c8ae5b26..f16e31e103 100644 --- a/lib/httpclient.php +++ b/lib/httpclient.php @@ -48,7 +48,7 @@ if (!defined('STATUSNET')) { class HTTPResponse { public $code = null; - public $headers = null; + public $headers = array(); public $body = null; }