MDL-51427 user: correctly use strings for phone1 and phone2
[moodle.git] / blocks / myprofile / block_myprofile.php
index cd82a6e..fa9c166 100644 (file)
@@ -127,13 +127,13 @@ class block_myprofile extends block_base {
 
         if(!empty($this->config->display_phone1) && !empty($USER->phone1)) {
             $this->content->text .= '<div class="myprofileitem phone1">';
-            $this->content->text .= get_string('phone').': ' . s($USER->phone1);
+            $this->content->text .= get_string('phone1').': ' . s($USER->phone1);
             $this->content->text .= '</div>';
         }
 
         if(!empty($this->config->display_phone2) && !empty($USER->phone2)) {
             $this->content->text .= '<div class="myprofileitem phone2">';
-            $this->content->text .= get_string('phone').': ' . s($USER->phone2);
+            $this->content->text .= get_string('phone2').': ' . s($USER->phone2);
             $this->content->text .= '</div>';
         }