Fixme: problem with trigger

This commit is contained in:
Regis Houssin 2011-07-06 10:34:30 +00:00
parent 23176f8713
commit a33dbd36d4

View File

@ -20,7 +20,7 @@
/** /**
* \file htdocs/core/ajaxfileupload.php * \file htdocs/core/ajaxfileupload.php
* \brief File to return Ajax response on file upload * \brief File to return Ajax response on file upload
* \version $Id: ajaxfileupload.php,v 1.9 2011/07/06 09:25:06 eldy Exp $ * \version $Id: ajaxfileupload.php,v 1.10 2011/07/06 10:34:30 hregis Exp $
*/ */
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1');
@ -209,7 +209,8 @@ class UploadHandler
FILE_APPEND FILE_APPEND
); );
} else { } else {
dol_move_uploaded_file($uploaded_file, $file_path, 1); // FIXME problem with trigger
dol_move_uploaded_file($uploaded_file, $file_path, 1, 0, 0, 1);
} }
} else { } else {
// Non-multipart uploads (PUT method support) // Non-multipart uploads (PUT method support)