Vergleich inc/class_xml.php - 1.8.13 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 101Zeile 101
	 * @param int $i Internal counter
* @return array Array of child nodes
*/

	 * @param int $i Internal counter
* @return array Array of child nodes
*/

	function get_children($vals, &$i)

	function get_children($vals=array(), &$i)

	{
$children = array();


	{
$children = array();


Zeile 171Zeile 171
			// if the array no longer has any key/val sets
// and therefore is at the deepest level, then
// store the string value

			// if the array no longer has any key/val sets
// and therefore is at the deepest level, then
// store the string value

			if(count($array[$key]) <= 0)

			if(is_array($array[$key]) && count($array[$key]) <= 0)

			{
$array[$key] = $val['value'];
}

			{
$array[$key] = $val['value'];
}