diff options
Diffstat (limited to 'plugins/video_upload')
-rw-r--r-- | plugins/video_upload/video_upload.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/video_upload/video_upload.module b/plugins/video_upload/video_upload.module index c11cd1e..f22327b 100644 --- a/plugins/video_upload/video_upload.module +++ b/plugins/video_upload/video_upload.module @@ -233,6 +233,7 @@ function _video_upload_store(&$node) { $file->fid = db_next_id('{files}_fid'); db_query("INSERT INTO {files} (fid, nid, filename, filepath, filemime, filesize) VALUES (%d, %d, '%s', '%s', '%s', %d)", $file->fid, $node->nid, $file->filename, $file->filepath, $file->filemime, $file->filesize); db_query("INSERT INTO {file_revisions} (fid, vid, list, description) VALUES (%d, %d, %d, '%s')", $file->fid, $node->vid, $file->list, $file->description); + $_SESSION['video_upload_file_stored'] = $file; unset($_SESSION['video_upload_file']); } else { |