]> _ Git - cubist_util.git/commitdiff
wip #2941
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 20 Aug 2019 15:50:52 +0000 (17:50 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 20 Aug 2019 15:50:52 +0000 (17:50 +0200)
src/Cubist/Util/XML/DOMSelector.php

index a37b7debf8f8d068b9549f03adb7fbf6e2978368..a375218460e5fa6b50cd4769363e38e7542ae420 100644 (file)
@@ -30,7 +30,7 @@ class DOMSelector
             @$this->_dom->loadHTML('<?xml encoding="utf-8" ?>' . $data);
         }
 
-        $this->xpath = new DOMXpath($this->_data);
+        $this->xpath = new DOMXpath($this->_dom);
     }
 
     /**