From 5425608f6933c066387ff4bcfbafecae4ff501fc Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 2 Jul 2008 06:43:21 +0000 Subject: [PATCH] "MDL-15500, change helpbutton debug level to developer, merged from MOODLE_19_STABLE" --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index fafb8e07d5..c88d830b39 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5873,11 +5873,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 -- 2.39.5