Skip to content

Commit

Permalink
Fixed #0008695: Error with attachments - Method DISK
Browse files Browse the repository at this point in the history
  • Loading branch information
planser committed Dec 27, 2007
1 parent 55880c3 commit 70ad63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/soap/mc_file_api.php
Expand Up @@ -94,7 +94,7 @@ function mci_file_add( $p_id, $p_name, $p_content, $p_file_type, $p_table, $p_ti
switch ( $t_method ) {
case FTP:
case DISK:
if ( !file_exists( $t_upload_path ) || !is_dir( $t_upload_path ) || !is_writable( $t_upload_path ) || !is_readable( $t_upload_path ) ) {
if ( !file_exists( $t_file_path ) || !is_dir( $t_file_path ) || !is_writable( $t_file_path ) || !is_readable( $t_file_path ) ) {
return new soap_fault( 'Server', '', "Upload folder '{$t_file_path}' doesn't exist." );
}

Expand Down

0 comments on commit 70ad63a

Please sign in to comment.