Change all the "new class" by "new Class"
This commit is contained in:
@@ -29,7 +29,7 @@ class Outputxml extends Output
|
||||
}
|
||||
else
|
||||
{
|
||||
$xml = new SimpleXMLElement ("<?xml version=\"1.0\"?><root></root>");
|
||||
$xml = new \SimpleXMLElement ("<?xml version=\"1.0\"?><root></root>");
|
||||
// function call to convert array to xml
|
||||
if (!is_array ($data))
|
||||
$data = array ($data);
|
||||
|
||||
Reference in New Issue
Block a user