FIlter wasn't using site databases globally

This commit is contained in:
moodler 2006-03-26 06:28:50 +00:00
parent 4ef4cff973
commit 886583bf6d

View File

@ -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
}
?>
?>