mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
FIlter wasn't using site databases globally
This commit is contained in:
parent
4ef4cff973
commit
886583bf6d
@ -33,7 +33,7 @@
|
||||
$CFG->prefix.'data_fields AS df, ' .
|
||||
$CFG->prefix.'data_records AS dr, ' .
|
||||
$CFG->prefix.'data_content AS dc ' .
|
||||
"WHERE d.course = '$courseid' " .
|
||||
"WHERE (d.course = '$courseid' or d.course = '".SITEID."')" .
|
||||
'AND d.id = df.dataid ' .
|
||||
'AND df.id = dc.fieldid ' .
|
||||
'AND d.id = dr.dataid ' .
|
||||
@ -66,4 +66,4 @@
|
||||
return filter_phrases($text, $contentlist); // Look for all these links in the text
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user