mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
N°3203 - Datamodel: Add semantic for image & state attributes Part. II
This commit is contained in:
@@ -84,8 +84,7 @@ function DisplaySubclasses($oPage, $sClass, $sContext)
|
||||
*/
|
||||
function DisplayLifecycle($oPage, $sClass)
|
||||
{
|
||||
$sStateAttCode = MetaModel::GetStateAttributeCode($sClass);
|
||||
if (empty($sStateAttCode))
|
||||
if (!MetaModel::HasLifecycle($sClass))
|
||||
{
|
||||
$oPage->p(Dict::S('UI:Schema:NoLifeCyle'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user