diff --git a/core/file_api.php b/core/file_api.php index 28663cc8b5..1c85bf7b84 100644 --- a/core/file_api.php +++ b/core/file_api.php @@ -951,6 +951,7 @@ function file_get_content( $p_file_id, $p_type = 'bug' ) { } return array( 'type' => $t_content_type, 'content' => file_get_contents( $t_local_disk_file ) ); } + return false; break; case FTP: $t_local_disk_file = file_normalize_attachment_path( $row['diskfile'], $t_project_id );