diff --git a/message/lib.php b/message/lib.php
index 72a9aa612fe..3a738fd0cf6 100644
--- a/message/lib.php
+++ b/message/lib.php
@@ -592,7 +592,7 @@ function message_contact_link($userid, $linktype='add', $return=false, $script="
$output = ''.
''.
- '
'.
+ '
'.
$text.'';
if ($return) {
@@ -623,9 +623,9 @@ function message_history_link($userid1, $userid2=0, $returnstr=false, $keywords=
}
if ($linktext == 'icon') { // Icon only
- $fulllink = '
';
+ $fulllink = '
';
} else if ($linktext == 'both') { // Icon and standard name
- $fulllink = '
';
+ $fulllink = '
';
$fulllink .= ' '.$strmessagehistory;
} else if ($linktext) { // Custom name
$fulllink = $linktext;