| 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 |
} |
} |