Commit 2ad406bb authored by DELARUELLE Myriam's avatar DELARUELLE Myriam
Browse files

disable filter in activities (or quiz questions)

parent 7c0f6b47
......@@ -155,7 +155,9 @@ function filter($text, array $options = array())
global $CFG;
global $PAGE;
if(strpos($PAGE->url, '/mod/') || strpos($PAGE->url, '/question/')){
return $text;
}
if ($CFG->color_btn) {
$this->color_btn = $CFG->color_btn;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment