Upstream Update: XML: Fix for KH 3.2

This commit is contained in:
Deon George 2011-12-16 20:26:21 +11:00
parent 08eab4b5f9
commit 65e62340c9

View File

@ -99,7 +99,7 @@
// Initialize the document with the given 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
$this->dom_doc->load($element);