Closed (fixed)
Project:
Image Picker
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2008 at 05:07 UTC
Updated:
29 Aug 2008 at 09:45 UTC
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
Comment #1
hutch commented