Mercurial > hg > rc2
diff program/lib/Roundcube/rcube_mime.php @ 18:b631c1c7a3ce
More cleaning up more php8 Warnings/deprecations,
including _many_ ediff-based fixes on rcmail_output_html.php
| author | Charlie Root |
|---|---|
| date | Tue, 07 Oct 2025 11:20:40 -0400 |
| parents | 4681f974d28b |
| children | bea5a38be938 |
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_mime.php Mon Oct 06 12:20:32 2025 -0400 +++ b/program/lib/Roundcube/rcube_mime.php Tue Oct 07 11:20:40 2025 -0400 @@ -198,7 +198,7 @@ // aggregation as a whole. $tmp[] = $text; - if ($next_match = $matches[$idx+1]) { + if ($next_match = ($matches[$idx+1]??null)) { if ($next_match[0][1] == $start && $next_match[1][0] == $charset && $next_match[2][0] == $encoding
