Permalink
Browse files

Supress annoying libxml warnings

  • Loading branch information...
1 parent 64813e0 commit 7c3f5974eae139e3b1ae305bc6af6a898fe0f6b3 @tj committed Jul 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 selector.inc
View
2 selector.inc
@@ -19,7 +19,7 @@ class SelectorDOM {
public function SelectorDOM($html) {
$this->html = $html;
$this->dom = new DOMDocument();
- $this->dom->loadHTML($html);
+ @$this->dom->loadHTML($html);
$this->xpath = new DOMXpath($this->dom);
}

0 comments on commit 7c3f597

Please sign in to comment.