mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Disabled automatic population of Zlists which was buggy. Not all ZLists are made of AttCode !
SVN:trunk[153]
This commit is contained in:
@@ -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 "<p>$sClass: $sListCode (".count($aAllAttributes)." attributes)</p>\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 "<p>$sClass: $sListCode (".count($aAllAttributes)." attributes)</p>\n";
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user