filters: MDL-7336 was missing the table prefix from one column.

Probably does not matter, but I'm adding it in case.
This commit is contained in:
tjhunt 2009-04-20 02:07:46 +00:00
parent dfd1512d21
commit 3bba572f0e

View File

@ -725,7 +725,7 @@ function filter_get_available_in_context($context) {
FROM {filter_active} f
JOIN {context} ctx ON f.contextid = ctx.id
WHERE ctx.id IN ($contextids)
GROUP BY filter
GROUP BY f.filter
HAVING MIN(f.active) > " . TEXTFILTER_DISABLED . "
ORDER BY MAX(f.sortorder)) parent_states
LEFT JOIN {filter_active} fa ON fa.filter = parent_states.filter AND fa.contextid = $context->id";