From 07af5501c53605d40f76f645ac4bc6d2904797bc Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Sat, 12 Sep 2009 19:58:20 +0000 Subject: [PATCH] Disabled automatic population of Zlists which was buggy. Not all ZLists are made of AttCode ! SVN:code[153] --- trunk/core/metamodel.class.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/trunk/core/metamodel.class.php b/trunk/core/metamodel.class.php index 285db94609..51aaadbdb2 100644 --- a/trunk/core/metamodel.class.php +++ b/trunk/core/metamodel.class.php @@ -817,15 +817,15 @@ abstract class MetaModel // Define defaults values for the standard ZLists // - foreach (self::$m_aListInfos as $sListCode => $aListConfig) - { - if (!isset(self::$m_aListData[$sClass][$sListCode])) - { - $aAllAttributes = array_keys(self::$m_aAttribDefs[$sClass]); - self::$m_aListData[$sClass][$sListCode] = $aAllAttributes; - //echo "

$sClass: $sListCode (".count($aAllAttributes)." attributes)

\n"; - } - } + //foreach (self::$m_aListInfos as $sListCode => $aListConfig) + //{ + // if (!isset(self::$m_aListData[$sClass][$sListCode])) + // { + // $aAllAttributes = array_keys(self::$m_aAttribDefs[$sClass]); + // self::$m_aListData[$sClass][$sListCode] = $aAllAttributes; + // //echo "

$sClass: $sListCode (".count($aAllAttributes)." attributes)

\n"; + // } + //} } }