Mercurial > hg > rc2
diff program/lib/Roundcube/rcube_mime.php @ 25:bea5a38be938
More cleaning up php8 Warnings/deprecations
| author | Charlie Root |
|---|---|
| date | Sat, 18 Oct 2025 12:24:31 -0400 |
| parents | b631c1c7a3ce |
| children | c32b53434b47 |
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_mime.php Fri Oct 17 17:31:22 2025 -0400 +++ b/program/lib/Roundcube/rcube_mime.php Sat Oct 18 12:24:31 2025 -0400 @@ -837,7 +837,7 @@ ); foreach ($aliases as $mime => $exts) { - $mime_types[$mime] = array_unique(array_merge((array) $mime_types[$mime], $exts)); + $mime_types[$mime] = array_unique(array_merge((array) ($mime_types[$mime]??null), $exts)); foreach ($exts as $ext) { if (!isset($mime_extensions[$ext])) {
