mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* fixed some warning when you select unexisting country
This commit is contained in:
parent
91c3b343e7
commit
97776d8f01
@ -63,7 +63,7 @@ if($step == 'save')
|
|||||||
$country = $_POST['country'];
|
$country = $_POST['country'];
|
||||||
if(!isset($country))
|
if(!isset($country))
|
||||||
$errors['country'] = 'Country is not set';
|
$errors['country'] = 'Country is not set';
|
||||||
elseif(!$config['countries'][$country])
|
elseif(!isset($config['countries'][$country]))
|
||||||
$errors['country'] = 'Country is invalid.';
|
$errors['country'] = 'Country is invalid.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user