mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
"MDL-19077, pixpath is broken, use initialise_deprecated_cfg_pixpath() as a temporary fix"
This commit is contained in:
parent
93feac1719
commit
96705c332a
@ -1062,7 +1062,8 @@ class MoodleQuickForm extends HTML_QuickForm_DHTMLRulesTableless {
|
||||
* @access public
|
||||
*/
|
||||
function MoodleQuickForm($formName, $method, $action, $target='', $attributes=null){
|
||||
global $CFG;
|
||||
global $CFG, $OUTPUT;
|
||||
$OUTPUT->initialise_deprecated_cfg_pixpath();
|
||||
|
||||
static $formcounter = 1;
|
||||
|
||||
|
@ -5468,7 +5468,8 @@ function editorhelpbutton(){
|
||||
*/
|
||||
function helpbutton($page, $title, $module='moodle', $image=true, $linktext=false, $text='', $return=false,
|
||||
$imagetext='') {
|
||||
global $CFG, $COURSE;
|
||||
global $CFG, $COURSE, $OUTPUT;
|
||||
$OUTPUT->initialise_deprecated_cfg_pixpath();
|
||||
|
||||
//warning if ever $text parameter is used
|
||||
//$text option won't work properly because the text needs to be always cleaned and,
|
||||
|
Loading…
x
Reference in New Issue
Block a user