Avoid 403 forbidden error on IPN request

This commit is contained in:
Raul Rodriguez committed 2015-05-28 06:01:31 +02:00
1 parent d69730db5f
commit df53a09366
1 file changed
+2
@@ -241,6 +241,8 @@ class Payment_Adapter_PayPalEmail implements \Box\InjectionAwareInterface
$headers = Array(
($post_contents ? 'POST' : 'GET')." $path HTTP/1.1",
"Host: $host",
'Connection: Close',
'User-Agent: BoxBilling'
);
if (!empty($phd)) {
if (!is_array($phd)) {