Skip to content
Snippets Groups Projects
Commit 2ad406bb authored by DELARUELLE Myriam's avatar DELARUELLE Myriam
Browse files

disable filter in activities (or quiz questions)

parent 7c0f6b47
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,9 @@ function filter($text, array $options = array()) ...@@ -155,7 +155,9 @@ function filter($text, array $options = array())
global $CFG; global $CFG;
global $PAGE; global $PAGE;
if(strpos($PAGE->url, '/mod/') || strpos($PAGE->url, '/question/')){
return $text;
}
if ($CFG->color_btn) { if ($CFG->color_btn) {
$this->color_btn = $CFG->color_btn; $this->color_btn = $CFG->color_btn;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment