powered by nequal
Home » HTML_DomParser » Timeline » 96

Changeset 96 -- 2008-11-15 03:23:56

Author
st
Comment
fix typo

Diffs

HTML_DomParser/trunk/code/HTML/DomParser.php

@@ -171,7 +171,7 @@
$this->root = new HTML_DomParser_Node($this);
$this->root->tag = 'root';
$this->root->_[HTML_DomParser_Const::INFO_BEGIN] = -1;
-        $this->root->nodetype = HDOM_TYPE_ROOT;
+        $this->root->nodetype = HTML_DomParser_Const::TYPE_ROOT;
$this->parent = $this->root;
// set the length of content
$this->size = strlen($str);