diff --git a/index.php b/index.php index 279e5b3..ee0d874 100644 --- a/index.php +++ b/index.php @@ -197,7 +197,14 @@ class="btn btn-outline-dark btn-sm font-Bitter mr-1" echo ''; - } + # Anzeige der Nachfolge-LEI, falls LEI nicht mehr aktiv + if( isset( $json_content_LEI['data']['attributes']['entity']['successorEntity']['lei'] ) ){ + $NachfolgeLEI = $json_content_LEI['data']['attributes']['entity']['successorEntity']['lei']; + echo '

🆕 ' . $NachfolgeLEI . '

'; + } else { + echo '

keine Nachfolge-LEI bekannt

'; + } + } ?>