]> git.mjollnir.org Git - moodle.git/commitdiff
message MDL-19801 Regression caused by recent upgrades
authorsamhemelryk <samhemelryk>
Tue, 29 Sep 2009 06:16:36 +0000 (06:16 +0000)
committersamhemelryk <samhemelryk>
Tue, 29 Sep 2009 06:16:36 +0000 (06:16 +0000)
message/lib.php

index 704d049b08cb04872eb7360582e564fb3a65514e..6d0e4bd9f6789a1a0bb7c0eb86b35d3e5ee88469 100644 (file)
@@ -658,7 +658,7 @@ function message_history_link($userid1, $userid2=0, $returnstr=false, $keywords=
     $link = html_link::make("/message/history.php?user1=$userid1&user2=$userid2$keywords$position", $fulllink);
     $link->add_action(new popup_action('click', $link->url, "message_history_$userid1", $popupoptions));
     $link->title = $strmessagehistory;
-    echo $OUTPUT->link($link);
+    $str = $OUTPUT->link($link);
 
     $str = '<span class="history">'.$str.'</span>';