Update company.php

This commit is contained in:
Laurent Destailleur 2019-06-22 11:24:21 +02:00 committed by GitHub
parent 3afa4175db
commit e9a8eb19bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ if ( ($action == 'update' && ! GETPOST("cancel", 'alpha'))
activateModulesRequiredByCountry($mysoc->country_code);
}
$tmparray=getState(GETPOST('state_id','int'),'all',$db,$langs,0);
$tmparray=getState(GETPOST('state_id','int'), 'all', $db, $langs, 0);
if (! empty($tmparray['id']))
{
$mysoc->state_id =$tmparray['id'];