Skip to content

Commit

Permalink
Typos and comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm committed Nov 11, 2024
1 parent ff1fb7a commit 1373f57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions program/lib/Roundcube/rcube_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -634,17 +634,17 @@ protected function get_replacement_references(rcube_message_part $part): array
*/
public function is_referred_attachment(rcube_message_part $part): bool
{
// This code is intentionally verbose to keep it comprehensible.
$references = $this->get_replacement_references($part);

// This code is intentionally verbose to keep it comprehensible.
// Filter out attachments that are reference by their Content-ID in
// Filter out attachments that are referenced by their Content-ID in
// another mime-part.
if (!empty($part->content_id) && in_array($part->content_id, $references)) {
return true;
}

// Filter out attachments that are reference by their
// Content-Location in another mime-part.
// Filter out attachments that are referenced by their Content-Location
// in another mime-part.
if (!empty($part->content_location) && in_array($part->content_location, $references)) {
return true;
}
Expand Down

0 comments on commit 1373f57

Please sign in to comment.