fatmanx / MantisBT-PastePicture

Paste print screens directly into MatisBT issue reporting(details) page
3 stars 19 forks source link

Error when trying to save issue #2

Open marceldehoog opened 8 years ago

marceldehoog commented 8 years ago

When pasting an image and trying to save the issue, I get an error. This due to the file_add function in the core/file_api.php, in the following line:

if( !move_uploaded_file( $t_tmp_file, $t_disk_file_name) ) {

When I replace the line with a php rename, all goes well, so apparently the system does not see the pasted picture as an upload. Any ideas on this?

luzpaz commented 7 years ago

bump