* FIX State dropdown is not working on User card #31198 * Fix phan
This commit is contained in:
parent
4a86964e18
commit
f101423901
2 changed files with 2 additions and 2 deletions
|
|
@ -169,7 +169,7 @@ if ($action == 'confirm_delete' && $confirm == "yes" && $permissiontoadd) {
|
|||
} elseif ($action == 'reopen' && $permissiontoadd && getDolGlobalString('ACCOUNTING_CAN_REOPEN_CLOSED_PERIOD')) {
|
||||
$result = $object->fetch($id);
|
||||
|
||||
$object->status = GETPOST('status', 'int');
|
||||
$object->status = GETPOSTINT('status');
|
||||
$result = $object->update($user);
|
||||
|
||||
if ($result > 0) {
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ if (GETPOST('zipcode') || GETPOST('town')) {
|
|||
top_httphead('text/html');
|
||||
|
||||
$formcompany = new FormCompany($db);
|
||||
print $formcompany->select_state(GETPOSTINT('selected', 1), GETPOSTINT('country_codeid', 1), GETPOSTINT('htmlname', 1), GETPOSTINT('morecss', 1));
|
||||
print $formcompany->select_state(GETPOSTINT('selected', 1), GETPOSTINT('country_codeid', 1), GETPOST('htmlname', 'alpha', 1), GETPOST('morecss', 'alpha', 1));
|
||||
}
|
||||
|
||||
$db->close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue