"MDL-15251, see tracker, merged from MOODLE_19_STABLE"

This commit is contained in:
dongsheng
2008-06-16 09:05:42 +00:00
parent 3c14b202eb
commit e6edcdaff7
+1 -1
View File
@@ -209,7 +209,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];