Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DOMDocument Empty String PHP Warning #10

Conversation

MitchellMcKenna
Copy link
Contributor

  • Fix DOMDocument::loadHTML() throwing a PHP Warning if the result of
    the cURL call is an empty string. Checks that the result of the curl
    call isn't empty before passing it to the _parse() function.

- Fix DOMDocument::loadHTML() throwing a PHP Warning if the result of
  the cURL call is an empty string. Checks that the result of the curl
  call isn't empty before passing it to _parse() function.
scottmac added a commit that referenced this pull request Feb 21, 2013
…TML-empty-string-warning

Fix DOMDocument Empty String PHP Warning
@scottmac scottmac merged commit 8043880 into scottmac:master Feb 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants