From: Michael J. Rubinsky Date: Tue, 24 Feb 2009 17:29:29 +0000 (-0500) Subject: ...and actually *keep* the required object. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ae68d9e2d52eb7dfba8cdae920ccebfa997036f6;p=horde.git ...and actually *keep* the required object. --- diff --git a/framework/Service_Facebook/lib/Horde/Service/Facebook.php b/framework/Service_Facebook/lib/Horde/Service/Facebook.php index f70ce3528..7bc0f90b4 100644 --- a/framework/Service_Facebook/lib/Horde/Service/Facebook.php +++ b/framework/Service_Facebook/lib/Horde/Service/Facebook.php @@ -132,6 +132,8 @@ class Horde_Service_Facebook // We require a http client object. if (empty($context['http_client'])) { throw new InvalidArgumentException('A http client object is required'); + } else { + $this->_http = $context['http_client']; } // Required Horde_Controller_Request object, but we can also get it