Skip to content

Commit 060a14f

Browse files
committed
Try PHP 7.4 'ha' fix
1 parent dddda72 commit 060a14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundled-libs/XML/RPC.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ function parseResponse($data = '')
15321532
$r = new XML_RPC_Response($v);
15331533
}
15341534
}
1535-
$r->hdrs = preg_split("@\r?\n@", $XML_RPC_xh[$parser]['ha']);
1535+
$r->hdrs = preg_split("@\r?\n@", $XML_RPC_xh[$parser]['ha'] ?: '');
15361536
return $r;
15371537
}
15381538
}

0 commit comments

Comments
 (0)