From f733c15e8db08099026fd7187f4945cb6d33a30d Mon Sep 17 00:00:00 2001 From: DamianMalik Date: Tue, 22 Nov 2022 21:21:54 +0100 Subject: [PATCH] Fixed #23: Anzeige der Nachfolge-LEI, falls existent. --- index.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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

'; + } + } ?>