Skip to content

Commit

Permalink
Fix 8215: APPLICATION ERROR 401 on MySQL with file_upload_method = DISK
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4520 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
giallu committed Aug 1, 2007
1 parent 3d900c4 commit ad7b86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/file_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: file_api.php,v 1.82 2007-07-23 21:42:45 prichards Exp $
# $Id: file_api.php,v 1.83 2007-08-01 08:02:58 giallu Exp $
# --------------------------------------------------------

$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
Expand Down Expand Up @@ -648,7 +648,7 @@ function file_add( $p_bug_id, $p_tmp_file, $p_file_name, $p_file_type='', $p_tab

chmod( $t_disk_file_name, config_get( 'attachments_file_permissions' ) );

$c_content = '';
$c_content = "''";
} else {
trigger_error( ERROR_FILE_DUPLICATE, ERROR );
}
Expand Down

0 comments on commit ad7b86e

Please sign in to comment.