mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Missing global was preventing $CFG->filtermatchonepertext to work.
This commit is contained in:
parent
919a4884ed
commit
a0d2e272d9
@ -39,6 +39,8 @@ class filterobject {
|
||||
**/
|
||||
function filter_phrases ($text, $link_array, $ignoretagsopen=NULL, $ignoretagsclose=NULL) {
|
||||
|
||||
global $CFG;
|
||||
|
||||
/// A list of open/close tags that we should not replace within
|
||||
/// No reason why you can't put full preg expressions in here too
|
||||
/// eg '<script(.+?)>' to match any type of script tag
|
||||
|
Loading…
x
Reference in New Issue
Block a user