I don't have time to write a patch, but there is a query that does not support table prefixes.

Changing this:

		$sq = '
			SELECT f.format, f.delta
			FROM filter_formats AS ff
			LEFT JOIN filters AS f USING (format)
			WHERE ('.$where.')
		';

to this:

		$sq = '
			SELECT f.format, f.delta
			FROM {filter_formats} AS ff
			LEFT JOIN {filters} AS f USING (format)
			WHERE ('.$where.')
		';

Should fix the problem.

I discovered this after coming across a post in the forum.

Comments

hutch’s picture

Status: Active » Closed (fixed)