diff program/lib/Roundcube/rcube_imap_generic.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 dd5ed6ef69c9
children 73124dd49283
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_imap_generic.php	Mon Oct 06 12:20:32 2025 -0400
+++ b/program/lib/Roundcube/rcube_imap_generic.php	Tue Oct 07 11:20:40 2025 -0400
@@ -2563,7 +2563,7 @@
                             if (strlen($field) < 3) {
                                 break;
                             }
-                            if ($result[$id]->others[$field]) {
+                            if (($result[$id]->others[$field])??null) {
                                 $string = array_merge((array)$result[$id]->others[$field], (array)$string);
                             }
                             $result[$id]->others[$field] = $string;