/[drupal]/contributions/modules/flashvideo/flashvideo.module
ViewVC logotype

Diff of /contributions/modules/flashvideo/flashvideo.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.73.2.108, Tue Jul 28 02:20:34 2009 UTC revision 1.73.2.109, Tue Jul 28 23:40:24 2009 UTC
# Line 1552  function _flashvideo_update_files($node) Line 1552  function _flashvideo_update_files($node)
1552      // Make sure that they uploaded some files to the "original" field.      // Make sure that they uploaded some files to the "original" field.
1553      elseif (!empty($node->$cck_original_video_field)) {      elseif (!empty($node->$cck_original_video_field)) {
1554        // Initialize new index of the video.        // Initialize new index of the video.
1555        $result = db_query("SELECT DISTINCT video_index FROM `flashvideo` WHERE nid = %d ORDER BY video_index ASC", $node->nid);        $result = db_query("SELECT DISTINCT video_index FROM {flashvideo} WHERE nid = %d ORDER BY video_index ASC", $node->nid);
1556        while ($row = db_fetch_object($result)) {        while ($row = db_fetch_object($result)) {
1557          $video_index = $row->video_index + 1;          $video_index = $row->video_index + 1;
1558        }        }

Legend:
Removed from v.1.73.2.108  
changed lines
  Added in v.1.73.2.109

  ViewVC Help
Powered by ViewVC 1.1.2