Update html.formcompany.class.php

This commit is contained in:
BENKE Charlene 2021-07-19 11:01:06 +02:00 committed by GitHub
parent 49a74c2b3b
commit 09954a3047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1077,7 +1077,7 @@ class FormCompany extends Form
$out .= '<input type="submit" class="button smallpaddingimp valignmiddle" value="'.$langs->trans("Modify").'">';
$out .= '</form>';
} else {
if ($selected) {
if ($selected > 0) {
$arr = $this->typent_array(0);
$typent = $arr[$selected];
$out .= $typent;