Skip to content

Commit

Permalink
Silence the new phpstan error
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Aug 21, 2024
1 parent 58721e3 commit ae1d028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/actions/mail/show.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ public static function message_headers($attrib, $headers = null)
} elseif (in_array($hkey, ['from', 'to', 'cc', 'bcc'])) {
$header_value = self::address_string($value, $attr_max, true, $attr_addicon, $charset, $header_title);
$ishtml = true;
} elseif ($hkey == 'subject' && empty($value)) {
} elseif ($hkey == 'subject' && empty($value)) { // @phpstan-ignore-line
$header_value = $rcmail->gettext('nosubject');
} else {
$value = is_array($value) ? implode(' ', $value) : $value;
Expand Down

0 comments on commit ae1d028

Please sign in to comment.