]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9315 fixed incorrect use of localtion (should be city) in user profile; merged...
authorskodak <skodak>
Sun, 15 Apr 2007 15:51:16 +0000 (15:51 +0000)
committerskodak <skodak>
Sun, 15 Apr 2007 15:51:16 +0000 (15:51 +0000)
user/view.php

index 71eb5204b7678f0090036764c400f51d8c59a0e9..3dec104c427fd5a3c077f0dec1ffeba6abff0670 100644 (file)
             $countries = get_list_of_countries();
             $location .= $countries[$user->country];
         }
-        print_row(get_string("location").":", $location);
+        print_row(get_string("city").":", $location);
     }
 
     if (has_capability('moodle/user:viewhiddendetails', $coursecontext)) {
 /// printing roles
     
     if ($rolestring = get_user_roles_in_context($id, $coursecontext->id)) {
-        print_row(get_string('roles').':', $rolestring);
+        print_row(get_string('roles').':', format_string($rolestring, false));
     }
 
 /// Printing groups