Fix Problem legalForm
This commit is contained in:
parent
0de1f0dab4
commit
11380e213c
|
@ -27,8 +27,8 @@ if(isset($_POST['geloeschteRechtseinheiten'])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$rechtsformen = array();
|
$rechtsformen = array();
|
||||||
if (isset($_POST['rechtsform']) && is_array($_POST['rechtsform']) && count($_POST['rechtsform']) > 0) {
|
if (isset($_POST['rechtsformen']) && is_array($_POST['rechtsformen']) && count($_POST['rechtsformen']) > 0) {
|
||||||
$rechtsformen = $_POST['rechtsform'];
|
$rechtsformen = $_POST['rechtsformen'];
|
||||||
} else {
|
} else {
|
||||||
$legalFormArray = json_decode(sendAPILegalFormRequest($username, $password), true);
|
$legalFormArray = json_decode(sendAPILegalFormRequest($username, $password), true);
|
||||||
foreach ($legalFormArray as $rechtsform) {
|
foreach ($legalFormArray as $rechtsform) {
|
||||||
|
|
Loading…
Reference in New Issue