Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Commit

Permalink
Fix namespace
Browse files Browse the repository at this point in the history
DOMDocument class missing namespace prefix
  • Loading branch information
Stephen Vickers committed Aug 16, 2016
1 parent 170088d commit 40a128d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ToolProvider/ResourceLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ private function doService($type, $url, $params)
$this->extResponse = $http->response;
$this->extResponseHeaders = $http->responseHeaders;
try {
$this->extDoc = new DOMDocument();
$this->extDoc = new \DOMDocument();
$this->extDoc->loadXML($http->response);
$this->extNodes = $this->domnodeToArray($this->extDoc->documentElement);
if (isset($this->extNodes['statusinfo']['codemajor']) && ($this->extNodes['statusinfo']['codemajor'] === 'Success')) {
Expand Down

0 comments on commit 40a128d

Please sign in to comment.