Skip to content

Commit

Permalink
Revert "Revert "Update mci_file_add to look more like file_add""
Browse files Browse the repository at this point in the history
Fixes #12582: SQL fail when uploading file via mantis connect API

This reverts commit 4d596e0.
  • Loading branch information
rombert committed Feb 8, 2011
1 parent 4d596e0 commit ace5239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/soap/mc_file_api.php
Expand Up @@ -103,7 +103,7 @@ function mci_file_add( $p_id, $p_name, $p_content, $p_file_type, $p_table, $p_ti
chmod( $t_disk_file_name, config_get( 'attachments_file_permissions' ) );
}

$c_content = '';
$c_content = "''";
}
break;
case DATABASE:
Expand Down

0 comments on commit ace5239

Please sign in to comment.