mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 17:54:55 +02:00
* fixed some warning when you select unexisting country
This commit is contained in:
@@ -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.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user