mailsave_hook passes temp file location

provod - January 1, 2009 - 02:27
Project:Mailsave
Version:6.x-1.3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Not sure if it's a bug or a feature, but it bugs me. The [mailsave_attachments] array's 'filepath' is location of a temp file, while the file is actually renamed by the function mailsave_save_file() in $dest = file_destination(file_create_path($file->filename), FILE_EXISTS_RENAME);

Can/should this be corrected? I need this final location value in a submodule.

cheers

 
 

Drupal is a registered trademark of Dries Buytaert.