Mercurial > hg > rc2
diff program/lib/Roundcube/rcube_message.php @ 19:b6a96bdd6b29
More cleaning up php8 Warnings/deprecations
| author | Charlie Root |
|---|---|
| date | Wed, 08 Oct 2025 08:50:44 -0400 |
| parents | 4681f974d28b |
| children | 303b85d5b561 |
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_message.php Tue Oct 07 11:20:40 2025 -0400 +++ b/program/lib/Roundcube/rcube_message.php Wed Oct 08 08:50:44 2025 -0400 @@ -930,7 +930,7 @@ if (strlen($part->mime_id)) $this->mime_parts[$part->mime_id] = &$part; - if (is_array($part->parts)) + if (is_array($part->parts??null)) for ($i=0; $i<count($part->parts); $i++) $this->get_mime_numbers($part->parts[$i]); }
