From 359c7bbfa8d6bc58657ad31fa76e0b88a41bbb81 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 2 Jul 2008 06:38:09 +0000 Subject: [PATCH] "MDL-15500, change helpbutton debug level to developer" --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 389488e9fde..b7ebdf0815d 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5860,11 +5860,11 @@ function helpbutton ($page, $title, $module='moodle', $image=true, $linktext=fal $imagetext='') { global $CFG, $COURSE; - //warning if ever $text parameter is used + //warning if ever $text parameter is used //$text option won't work properly because the text needs to be always cleaned and, // when cleaned... html tags always break, so it's unusable. if ( isset($text) && $text!='') { - debugging('Warning: it\'s not recommended to use $text parameter in helpbutton ($page=' . $page . ', $module=' . $module . ') function'); + debugging('Warning: it\'s not recommended to use $text parameter in helpbutton ($page=' . $page . ', $module=' . $module . ') function', DEBUG_DEVELOPER); } // fix for MDL-7734