fixes for php-5.4 (strict standard)
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -236,6 +236,7 @@ class ApsInstaller extends ApsParser
|
|||||||
$Xml->registerXPathNamespace('db', 'http://apstandard.com/ns/1/db');
|
$Xml->registerXPathNamespace('db', 'http://apstandard.com/ns/1/db');
|
||||||
|
|
||||||
$XmlDb = new DynamicProperties;
|
$XmlDb = new DynamicProperties;
|
||||||
|
$XmlDb->db = new DynamicProperties;
|
||||||
$XmlDb->db->id = getXPathValue($Xml, '//db:id');
|
$XmlDb->db->id = getXPathValue($Xml, '//db:id');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -500,6 +501,7 @@ class ApsInstaller extends ApsParser
|
|||||||
$Xml->registerXPathNamespace('db', 'http://apstandard.com/ns/1/db');
|
$Xml->registerXPathNamespace('db', 'http://apstandard.com/ns/1/db');
|
||||||
|
|
||||||
$XmlDb = new DynamicProperties;
|
$XmlDb = new DynamicProperties;
|
||||||
|
$XmlDb->db = new DynamicProperties;
|
||||||
$XmlDb->db->id = getXPathValue($Xml, '//db:id');
|
$XmlDb->db->id = getXPathValue($Xml, '//db:id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user