"MDL-15251, see tracker"

This commit is contained in:
dongsheng 2008-06-16 09:12:07 +00:00
parent 74a28ec471
commit 3f4fede509

View File

@ -218,7 +218,7 @@
}
$countries = get_list_of_countries();
if (!empty($countries[$user->country]) && !isset($hiddenfields['country'])) {
if ($user->city && !isset($hiddenfields['country'])) {
if ($user->city && !isset($hiddenfields['city'] && !isset($hiddenfields['country'])) {
$location .= ', ';
}
$location .= $countries[$user->country];