#403 Partial installation not working (error on ticket form)

SVN:trunk[1268]
This commit is contained in:
Romain Quetiez
2011-05-13 15:09:55 +00:00
parent 178f7f3426
commit 58844b04ef

View File

@@ -1535,7 +1535,13 @@ abstract class MetaModel
{
if (is_array($attCode))
{
self::Init_CheckZListItems($attCode, $sTargetClass);
// Note: to make sure that the values will be updated recursively,
// do not pass $attCode, but $aItems[$iFoo] instead
self::Init_CheckZListItems($aItems[$iFoo], $sTargetClass);
if (count($aItems[$iFoo]) == 0)
{
unset($aItems[$iFoo]);
}
}
else if (isset(self::$m_aIgnoredAttributes[$sTargetClass][$attCode]))
{