]> git.mjollnir.org Git - moodle.git/commitdiff
message MDL-19801 Added missing OUTPUT global
authorsamhemelryk <samhemelryk>
Tue, 29 Sep 2009 06:10:51 +0000 (06:10 +0000)
committersamhemelryk <samhemelryk>
Tue, 29 Sep 2009 06:10:51 +0000 (06:10 +0000)
message/lib.php

index b6856f0f3a48e959b2007fb3dcdb47f39b487bda..704d049b08cb04872eb7360582e564fb3a65514e 100644 (file)
@@ -571,7 +571,7 @@ function message_print_user ($user=false, $iscontact=false, $isblocked=false) {
 
 /// linktype can be: add, remove, block, unblock
 function message_contact_link($userid, $linktype='add', $return=false, $script="index.php?tab=contacts", $text=false) {
-    global $USER, $CFG;
+    global $USER, $CFG, $OUTPUT;
 
     static $str;