Skip to content

Commit

Permalink
style: clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
Paco committed Oct 13, 2024
1 parent 695506d commit e9fbaad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/ontology/v5/class.dd_elements.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ protected function makeTSline( string $terminoID,
if(!empty($modelo) && trim($modelo)!='' && $this->esmodelo!='si') {
#dump($modelo,"modelo");
$modelo_name = RecordObj_dd_edit::get_termino_by_tipo($modelo);
$html .= $this->renderBtnM($terminoID,$modelo,$modelo_name);
if(!empty($modelo_name)) {
$html .= $this->renderBtnM($terminoID,$modelo,$modelo_name);
}
}

# DESPLEGAR HIJOS BtnFlecha
Expand Down

0 comments on commit e9fbaad

Please sign in to comment.