N°640 - No 'Tickets' tab on FunctionalCIs when no Ticket sub-classes exists (2)

This commit is contained in:
v-dumas
2025-11-03 18:32:50 +01:00
parent 4f8f384ae2
commit b1afdcbdf5

View File

@@ -193,7 +193,7 @@
$sTicketListAttCode = 'tickets_list';
if ((MetaModel::HasChildrenClasses('Ticket') && MetaModel::IsValidAttCode(get_class($this), $sTicketListAttCode)) {
if (MetaModel::HasChildrenClasses('Ticket') && MetaModel::IsValidAttCode(get_class($this), $sTicketListAttCode)) {
// Display one list per leaf class (the only way to display the status as of now)
$oAttDef = MetaModel::GetAttributeDef(get_class($this), $sTicketListAttCode);