I'm sorry if this is a duplicate...I looked for it.

On line 1551 of flashvideo.module appears:

$result = db_query("SELECT DISTINCT video_index FROM `flashvideo` WHERE nid = %d ORDER BY video_index ASC", $node->nid);

This should be

$result = db_query("SELECT DISTINCT video_index FROM {flashvideo} WHERE nid = %d ORDER BY video_index ASC", $node->nid);

Otherwise it will throw an error on sites that use a table prefix.

Comments

attheshow’s picture

Version: 6.x-1.5-rc3 » 6.x-1.x-dev
Assigned: Unassigned » attheshow
Status: Active » Fixed

Good catch. Thanks! Just committed a fix for this to the dev version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.