Upstream Update: XML: Fix for KH 3.2
This commit is contained in:
parent
08eab4b5f9
commit
65e62340c9
@ -99,7 +99,7 @@
|
|||||||
// Initialize the document with the given element
|
// Initialize the document with the given element
|
||||||
if (is_string($element))
|
if (is_string($element))
|
||||||
{
|
{
|
||||||
if (is_file($element) OR validate::url($element))
|
if (is_file($element) OR valid::url($element))
|
||||||
{
|
{
|
||||||
// Generate XML from a file
|
// Generate XML from a file
|
||||||
$this->dom_doc->load($element);
|
$this->dom_doc->load($element);
|
||||||
|
Reference in New Issue
Block a user