mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for client - country codes
This commit is contained in:
parent
aff6eb2701
commit
29006a2da0
@ -116,7 +116,7 @@ class StoreClientRequest extends Request
|
|||||||
|
|
||||||
$input['settings'] = $settings;
|
$input['settings'] = $settings;
|
||||||
|
|
||||||
if (isset($input['country_code']) && strlen($input['country_code']) == 3) {
|
if (isset($input['country_code'])) {
|
||||||
$input['country_id'] = $this->getCountryCode($input['country_code']);
|
$input['country_id'] = $this->getCountryCode($input['country_code']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user