From fb8d93319dfc60302689aaa1fcb802f27f9ef792 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Thu, 10 May 2012 09:06:36 +0000 Subject: [PATCH] Implementation and integration... SVN:trunk[1981] --- setup/modelfactory.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/modelfactory.class.inc.php b/setup/modelfactory.class.inc.php index d6aa0f28d..abbf46b4c 100644 --- a/setup/modelfactory.class.inc.php +++ b/setup/modelfactory.class.inc.php @@ -1234,9 +1234,9 @@ class MFElement extends DOMElement * where value can be the either a text or an array of items... recursively * Returns a PHP array */ - public function GetNodeAsArrayOfItems() + public function GetNodeAsArrayOfItems($sElementName = 'items') { - $oItems = $this->GetOptionalElement('items'); + $oItems = $this->GetOptionalElement($sElementName); if ($oItems) { $res = array();