]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-15251, see tracker"
authordongsheng <dongsheng>
Mon, 16 Jun 2008 09:12:07 +0000 (09:12 +0000)
committerdongsheng <dongsheng>
Mon, 16 Jun 2008 09:12:07 +0000 (09:12 +0000)
user/view.php

index c9d37a73458b1b0380fc5bc4d5782614fb28a05a..bb01057b57402025afed8b4992c79d33b4222b01 100644 (file)
         }
         $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];