mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Disabled automatic population of Zlists which was buggy. Not all ZLists are made of AttCode !
SVN:code[153]
This commit is contained in:
@@ -817,15 +817,15 @@ abstract class MetaModel
|
|||||||
|
|
||||||
// Define defaults values for the standard ZLists
|
// Define defaults values for the standard ZLists
|
||||||
//
|
//
|
||||||
foreach (self::$m_aListInfos as $sListCode => $aListConfig)
|
//foreach (self::$m_aListInfos as $sListCode => $aListConfig)
|
||||||
{
|
//{
|
||||||
if (!isset(self::$m_aListData[$sClass][$sListCode]))
|
// if (!isset(self::$m_aListData[$sClass][$sListCode]))
|
||||||
{
|
// {
|
||||||
$aAllAttributes = array_keys(self::$m_aAttribDefs[$sClass]);
|
// $aAllAttributes = array_keys(self::$m_aAttribDefs[$sClass]);
|
||||||
self::$m_aListData[$sClass][$sListCode] = $aAllAttributes;
|
// self::$m_aListData[$sClass][$sListCode] = $aAllAttributes;
|
||||||
//echo "<p>$sClass: $sListCode (".count($aAllAttributes)." attributes)</p>\n";
|
// //echo "<p>$sClass: $sListCode (".count($aAllAttributes)." attributes)</p>\n";
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user